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
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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