Castle.MicroKernel.Lifestyle.LifestyleExtensions.RequireScope C# (CSharp) Méthode

RequireScope() public static méthode

public static RequireScope ( this kernel ) : IDisposable
kernel this
Résultat IDisposable
		public static IDisposable RequireScope(this IKernel kernel)
		{
			var current = Scope.ObtainCurrentScope();
			if (current == null)
			{
				return kernel.BeginScope();
			}
			return null;
		}
LifestyleExtensions