C# Class DryIoc.Web.DryIocWeb

Extension to get container with ambient HttpContext.Current scope context.
Afficher le fichier Open project: mobsoftware/mobsocial

Méthodes publiques

Méthode Description
WithHttpContextScopeContext ( this container, Func getContextItems = null ) : IContainer

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

Method Details

WithHttpContextScopeContext() public static méthode

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 .
Résultat IContainer