Click or drag to resize

RegistrationExtensionsPooledInstancePerLifetimeScope Method

Overload List
  NameDescription
Public methodStatic memberPooledInstancePerLifetimeScopeTLimit, TActivatorData, TSingleRegistrationStyle(IRegistrationBuilderTLimit, TActivatorData, TSingleRegistrationStyle)
Configure the component so that every dependent component or manual resolve within a single ILifetimeScope will return the same, shared instance, retrieved from a single pool of instances shared by all lifetime scopes. When the scope ends, the instance will be returned to the pool.
Public methodStatic memberPooledInstancePerLifetimeScopeTLimit, TActivatorData, TSingleRegistrationStyle(IRegistrationBuilderTLimit, TActivatorData, TSingleRegistrationStyle, IPooledRegistrationPolicyTLimit)
Configure the component so that every dependent component or manual resolve within a single ILifetimeScope will return the same, shared instance, retrieved from a single pool of instances shared by all lifetime scopes. When the scope ends, the instance will be returned to the pool.
Public methodStatic memberPooledInstancePerLifetimeScopeTLimit, TActivatorData, TSingleRegistrationStyle(IRegistrationBuilderTLimit, TActivatorData, TSingleRegistrationStyle, Int32)
Configure the component so that every dependent component or manual resolve within a single ILifetimeScope will return the same, shared instance, retrieved from a single pool of instances shared by all lifetime scopes. When the scope ends, the instance will be returned to the pool.
Top
See Also