Autofac.Pooling.Tests.Shared.PoolTrackingPolicy.Get C# (CSharp) 메소드

Get() 공개 메소드

public Get ( IComponentContext context, IEnumerable parameters, Func getFromPool ) : TLimit
context IComponentContext
parameters IEnumerable
getFromPool Func
리턴 TLimit
        public override TLimit Get(IComponentContext context, IEnumerable<Parameter> parameters, Func<TLimit> getFromPool)
        {
            Interlocked.Increment(ref _outOfPool);

            return getFromPool();
        }
PoolTrackingPolicy