view Implab/Components/IServiceLocator.cs @ 269:ff581cff7003 v3

Working on Unity container xml configuration
author cin
date Tue, 24 Apr 2018 01:46:02 +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);
    }
}