view Implab/Components/IServiceLocator.cs @ 271:d4d437ec4483 v3

Working on Unity xml configuration
author cin
date Wed, 25 Apr 2018 19:23:35 +0300
parents 9f63dade3a40
children
line wrap: on
line source

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

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