C# Класс DryIoc.Web.DryIocWeb

Extension to get container with ambient HttpContext.Current scope context.
Показать файл Открыть проект

Открытые методы

Метод Описание
WithHttpContextScopeContext ( this container, Func getContextItems = null ) : IContainer

Creates new container from original with HttpContext or arbitrary/test context getContextItems.

Описание методов

WithHttpContextScopeContext() публичный статический Метод

Creates new container from original with HttpContext or arbitrary/test context getContextItems.
public static WithHttpContextScopeContext ( this container, Func getContextItems = null ) : IContainer
container this Original container with some rules and registrations.
getContextItems Func (optional) Arbitrary or test context to use instead of .
Результат IContainer