view Implab/IServiceLocator.cs @ 68:9dd6a896a385

ServiceLocator: small refactoring, GetService method is made virtual
author cin
date Thu, 28 Aug 2014 02:28:00 +0400
parents fe33f4e02ad5
children 48763f3b5db8
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);
    }
}