public static ThreadStaticLifetimeScope ObtainCurrentScope() { return currentScope; } }
public void Dispose() { var scope = Scope.ObtainCurrentScope(); if (scope != null) { scope.Dispose(); } }