view Implab/Components/IServiceLocator.cs @ 257:440801d88019 v3

working on runnable components
author cin
date Fri, 13 Apr 2018 00:43:10 +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);
    }
}