Castle.MicroKernel.Lifestyle.ThreadScopeAccessor.GetScope C# (CSharp) Méthode

GetScope() public méthode

public GetScope ( CreationContext context ) : ILifetimeScope
context Castle.MicroKernel.Context.CreationContext
Résultat ILifetimeScope
		public ILifetimeScope GetScope(CreationContext context)
		{
			var currentThreadId = GetCurrentThreadId();
			return items.GetOrAdd(currentThreadId, id => new DefaultLifetimeScope());
		}