C# Класс LayersCMS.MvcApp.Application.DependencyResolution.StructureMapDependencyScope

The structure map dependency scope.
Наследование: ServiceLocatorImplBase, IDependencyScope
Показать файл Открыть проект

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

Свойство Тип Описание
Container IContainer

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

Метод Описание
Dispose ( ) : void

The dispose.

GetService ( Type serviceType ) : object

The get service.

GetServices ( Type serviceType ) : IEnumerable

The get services.

StructureMapDependencyScope ( IContainer container ) : System

Initializes a new instance of the StructureMapDependencyScope class.

Защищенные методы

Метод Описание
DoGetAllInstances ( Type serviceType ) : IEnumerable

When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.

DoGetInstance ( Type serviceType, string key ) : object

When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.

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

Dispose() публичный Метод

The dispose.
public Dispose ( ) : void
Результат void

DoGetAllInstances() защищенный Метод

When implemented by inheriting classes, this method will do the actual work of resolving all the requested service instances.
protected DoGetAllInstances ( Type serviceType ) : IEnumerable
serviceType System.Type /// Type of service requested. ///
Результат IEnumerable

DoGetInstance() защищенный Метод

When implemented by inheriting classes, this method will do the actual work of resolving the requested service instance.
protected DoGetInstance ( Type serviceType, string key ) : object
serviceType System.Type /// Type of instance requested. ///
key string /// Name of registered service you want. May be null. ///
Результат object

GetService() публичный Метод

The get service.
public GetService ( Type serviceType ) : object
serviceType System.Type /// The service type. ///
Результат object

GetServices() публичный Метод

The get services.
public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type /// The service type. ///
Результат IEnumerable

StructureMapDependencyScope() публичный Метод

Initializes a new instance of the StructureMapDependencyScope class.
///
public StructureMapDependencyScope ( IContainer container ) : System
container IContainer /// The container. ///
Результат System

Описание свойств

Container защищенное свойство

The container.
protected IContainer Container
Результат IContainer