Пример #1
0
        public void Dispose()
        {
            var scope = PerWebRequestLifestyleModule.DetachScope();

            if (scope != null)
            {
                scope.Dispose();
            }
        }
Пример #2
0
 public ILifetimeScope GetScope(CreationContext context)
 {
     return(PerWebRequestLifestyleModule.AttachScope());
 }