Method | Description | |
---|---|---|
GetConfiguredContainer ( ) : IUnityContainer |
Gets the configured Unity container.
|
|
RegisterTypes ( IUnityContainer container ) : void |
Registers the type mappings with the Unity container. There is no need to register concrete types such as controllers or API controllers (unless you want to change the defaults), as Unity allows resolving a concrete type even if it was not previously registered. |
public static GetConfiguredContainer ( ) : IUnityContainer | ||
return | IUnityContainer |
public static RegisterTypes ( IUnityContainer container ) : void | ||
container | IUnityContainer | The unity container to configure. |
return | void |