view Implab/IServiceLocator.cs @ 85:abe260860bd6 v2

fixed JSONXmlReader disposing under ugly mono ObjectPool is made abstract
author cin
date Tue, 30 Sep 2014 16:05:35 +0400
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);
    }
}