C# 클래스 DryIoc.Web.DryIocWeb

Extension to get container with ambient HttpContext.Current scope context.
파일 보기 프로젝트 열기: mobsoftware/mobsocial

공개 메소드들

메소드 설명
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