C# 클래스 GSoft.Dynamite.ServiceLocator.NamespaceFilteredContainerProvider

Basic Autofac container provider that will automatically scan the GAC for assemblies that match the provider's appRootNamespace (or, alternatively, those that match the provider's assemblyFileMatcher). All Autoface registration modules found in those assemblies will be loaded in the provided container when Current is accessed for the first time after an application pool recyle.
상속: IContainerProvider
파일 보기 프로젝트 열기: GSoft-SharePoint/Dynamite-2010

보호된 프로퍼티들

프로퍼티 타입 설명
appRootNamespace string
assemblyFileNameMatcher bool>.Func

공개 메소드들

메소드 설명
NamespaceFilteredContainerProvider ( string appRootNamespace ) : System

Initializes a new instance of the ContainerScopeProvider class.

NamespaceFilteredContainerProvider ( string appRootNamespace, bool>.Func assemblyFileNameMatcher ) : System

Initializes a new instance of the ContainerScopeProvider class.

메소드 상세

NamespaceFilteredContainerProvider() 공개 메소드

Initializes a new instance of the ContainerScopeProvider class.
public NamespaceFilteredContainerProvider ( string appRootNamespace ) : System
appRootNamespace string /// The app root namespace. ///
리턴 System

NamespaceFilteredContainerProvider() 공개 메소드

Initializes a new instance of the ContainerScopeProvider class.
public NamespaceFilteredContainerProvider ( string appRootNamespace, bool>.Func assemblyFileNameMatcher ) : System
appRootNamespace string /// The app root namespace. ///
assemblyFileNameMatcher bool>.Func /// The assembly file name matcher (will be used instead of the appRootNamespace to /// match assembly names in the GAC). The appRootNamespace still acts as the provided /// container's unique key among all the other containers that live in the AppDomain. ///
리턴 System

프로퍼티 상세

appRootNamespace 보호되어 있는 프로퍼티

protected string appRootNamespace
리턴 string

assemblyFileNameMatcher 보호되어 있는 프로퍼티

protected Func assemblyFileNameMatcher
리턴 bool>.Func