C# Class TekConf.Api.DependencyResolution.StructureMapDependencyScope

The structure map dependency scope.
Inheritance: ServiceLocatorImplBase
Mostrar archivo Open project: tekconf/tekconf Class Usage Examples

Public Methods

Method Description
CreateNestedContainer ( ) : void
Dispose ( ) : void
DisposeNestedContainer ( ) : void
DisposeParentContainer ( ) : void
GetServices ( Type serviceType ) : IEnumerable
StructureMapDependencyScope ( IContainer container ) : System

Initializes the scope using a TransientNestedContainerScope container)

StructureMapDependencyScope ( IContainer container, INestedContainerScope nestedContainerScope ) : System
TryGetInstance ( Type type ) : object

Protected Methods

Method Description
DoGetAllInstances ( Type serviceType ) : IEnumerable
DoGetInstance ( Type serviceType, string key ) : object

Method Details

CreateNestedContainer() public method

public CreateNestedContainer ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

DisposeNestedContainer() public method

public DisposeNestedContainer ( ) : void
return void

DisposeParentContainer() public method

public DisposeParentContainer ( ) : void
return void

DoGetAllInstances() protected method

protected DoGetAllInstances ( Type serviceType ) : IEnumerable
serviceType System.Type
return IEnumerable

DoGetInstance() protected method

protected DoGetInstance ( Type serviceType, string key ) : object
serviceType System.Type
key string
return object

GetServices() public method

public GetServices ( Type serviceType ) : IEnumerable
serviceType System.Type
return IEnumerable

StructureMapDependencyScope() public method

Initializes the scope using a TransientNestedContainerScope container)
public StructureMapDependencyScope ( IContainer container ) : System
container IContainer
return System

StructureMapDependencyScope() public method

public StructureMapDependencyScope ( IContainer container, INestedContainerScope nestedContainerScope ) : System
container IContainer
nestedContainerScope INestedContainerScope
return System

TryGetInstance() public method

public TryGetInstance ( Type type ) : object
type System.Type
return object