C# Class StructureMap.ContainerExtensions

ファイルを表示 Open project: structuremap/StructureMap.Microsoft.DependencyInjection

Public Methods

Method Description
Populate ( this container, IEnumerable descriptors ) : void

Populates the container using the specified service descriptors.

This method should only be called once per container.

Private Methods

Method Description
CreateFactory ( this descriptor ) : object>>.Expression
Register ( this registry, IEnumerable descriptors ) : void
Register ( this registry, ServiceDescriptor descriptor ) : void
ThrowIfMarkerInterfaceIsRegistered ( StructureMap.Graph.PluginGraph graph ) : void

Method Details

Populate() public static method

Populates the container using the specified service descriptors.
This method should only be called once per container.
public static Populate ( this container, IEnumerable descriptors ) : void
container this The container.
descriptors IEnumerable The service descriptors.
return void