view Implab/IServiceLocator.cs @ 155:037df317f126 v2

minor fixes for vs2012
author cin
date Fri, 12 Feb 2016 16:24:24 +0300
parents 48763f3b5db8
children
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Implab {
    public interface IServiceLocator: IServiceProvider {
        T GetService<T>();
        bool TryGetService<T>(out T service);
		bool TryGetService (Type serviceType, out object service);
    }
}