Method | Description | |
---|---|---|
GetReferencedAssemblies ( ) : IEnumerable |
Returns all app specific referenced assemblies (except from GAC and Dynamic).
|
|
RegisterMvcControllers ( this container, IEnumerable |
Registers controllers types in container with InWebRequest reuse.
|
|
SetFilterAttributeFilterProvider ( this container, Collection |
Replaces default Filter Providers with instance of DryIocFilterAttributeFilterProvider, add in addition registers aggregated filter to container..
|
|
WithMvc ( this container, IEnumerable |
Creates new container from original one with HttpContextScopeContext. Then registers MVC controllers in container, sets DryIocFilterAttributeFilterProvider as filter provider, and at last sets container as DependencyResolver.
|
public static GetReferencedAssemblies ( ) : IEnumerable |
||
return | IEnumerable |
public static RegisterMvcControllers ( this container, IEnumerable |
||
container | this | Container to register controllers to. |
controllerAssemblies | IEnumerable |
(optional) Uses |
return | void |
public static SetFilterAttributeFilterProvider ( this container, Collection |
||
container | this | Container to register to. |
filterProviders | Collection |
Original filter providers. |
return | void |
public static WithMvc ( this container, IEnumerable |
||
container | this | Original container. |
controllerAssemblies | IEnumerable |
(optional) By default uses |
scopeContext | IScopeContext | Specific scope context to use, by default MVC uses |
return | IContainer |