Interface IContainer
Assembly: DotNetNuke.dll
Syntax
public interface IContainer
Properties
Name
Declaration
Property Value
Methods
GetComponent(string)
Declaration
object GetComponent(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
GetComponent(string, Type)
Declaration
object GetComponent(string name, Type contractType)
Parameters
| Type |
Name |
Description |
| string |
name |
|
| Type |
contractType |
|
Returns
GetComponent(Type)
Declaration
object GetComponent(Type contractType)
Parameters
| Type |
Name |
Description |
| Type |
contractType |
|
Returns
GetComponentList(Type)
Declaration
string[] GetComponentList(Type contractType)
Parameters
| Type |
Name |
Description |
| Type |
contractType |
|
Returns
GetComponentList<TContract>()
Declaration
string[] GetComponentList<TContract>()
Returns
Type Parameters
| Name |
Description |
| TContract |
|
GetComponentSettings(string)
Declaration
IDictionary GetComponentSettings(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
GetComponentSettings(Type)
Declaration
IDictionary GetComponentSettings(Type component)
Parameters
| Type |
Name |
Description |
| Type |
component |
|
Returns
GetComponentSettings<TComponent>()
Declaration
IDictionary GetComponentSettings<TComponent>()
Returns
Type Parameters
| Name |
Description |
| TComponent |
|
GetComponent<TContract>()
Declaration
TContract GetComponent<TContract>()
Returns
| Type |
Description |
| TContract |
|
Type Parameters
| Name |
Description |
| TContract |
|
GetComponent<TContract>(string)
Declaration
TContract GetComponent<TContract>(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
| Type |
Description |
| TContract |
|
Type Parameters
| Name |
Description |
| TContract |
|
RegisterComponent(string, Type)
Declaration
void RegisterComponent(string name, Type componentType)
Parameters
| Type |
Name |
Description |
| string |
name |
|
| Type |
componentType |
|
RegisterComponent(string, Type, Type)
Declaration
void RegisterComponent(string name, Type contractType, Type componentType)
Parameters
| Type |
Name |
Description |
| string |
name |
|
| Type |
contractType |
|
| Type |
componentType |
|
RegisterComponent(string, Type, Type, ComponentLifeStyleType)
Declaration
void RegisterComponent(string name, Type contractType, Type componentType, ComponentLifeStyleType lifestyle)
Parameters
RegisterComponent(Type)
Declaration
void RegisterComponent(Type componentType)
Parameters
| Type |
Name |
Description |
| Type |
componentType |
|
RegisterComponent(Type, Type)
Declaration
void RegisterComponent(Type contractType, Type componentType)
Parameters
| Type |
Name |
Description |
| Type |
contractType |
|
| Type |
componentType |
|
RegisterComponent(Type, Type, ComponentLifeStyleType)
Declaration
void RegisterComponent(Type contractType, Type componentType, ComponentLifeStyleType lifestyle)
Parameters
RegisterComponentInstance(string, object)
Declaration
void RegisterComponentInstance(string name, object instance)
Parameters
RegisterComponentInstance(string, Type, object)
Declaration
void RegisterComponentInstance(string name, Type contractType, object instance)
Parameters
RegisterComponentInstance<TContract>(object)
Declaration
void RegisterComponentInstance<TContract>(object instance)
Parameters
| Type |
Name |
Description |
| object |
instance |
|
Type Parameters
| Name |
Description |
| TContract |
|
RegisterComponentInstance<TContract>(string, object)
Declaration
void RegisterComponentInstance<TContract>(string name, object instance)
Parameters
Type Parameters
| Name |
Description |
| TContract |
|
RegisterComponentSettings(string, IDictionary)
Declaration
void RegisterComponentSettings(string name, IDictionary dependencies)
Parameters
RegisterComponentSettings(Type, IDictionary)
Declaration
void RegisterComponentSettings(Type component, IDictionary dependencies)
Parameters
RegisterComponentSettings<TComponent>(IDictionary)
Declaration
void RegisterComponentSettings<TComponent>(IDictionary dependencies)
Parameters
Type Parameters
| Name |
Description |
| TComponent |
|
RegisterComponent<TComponent>()
Declaration
void RegisterComponent<TComponent>() where TComponent : class
Type Parameters
| Name |
Description |
| TComponent |
|
RegisterComponent<TComponent>(string)
Declaration
void RegisterComponent<TComponent>(string name) where TComponent : class
Parameters
| Type |
Name |
Description |
| string |
name |
|
Type Parameters
| Name |
Description |
| TComponent |
|
RegisterComponent<TComponent>(string, ComponentLifeStyleType)
Declaration
void RegisterComponent<TComponent>(string name, ComponentLifeStyleType lifestyle) where TComponent : class
Parameters
Type Parameters
| Name |
Description |
| TComponent |
|
RegisterComponent<TContract, TComponent>()
Declaration
void RegisterComponent<TContract, TComponent>() where TComponent : class
Type Parameters
| Name |
Description |
| TContract |
|
| TComponent |
|
RegisterComponent<TContract, TComponent>(string)
Declaration
void RegisterComponent<TContract, TComponent>(string name) where TComponent : class
Parameters
| Type |
Name |
Description |
| string |
name |
|
Type Parameters
| Name |
Description |
| TContract |
|
| TComponent |
|
RegisterComponent<TContract, TComponent>(string, ComponentLifeStyleType)
Declaration
void RegisterComponent<TContract, TComponent>(string name, ComponentLifeStyleType lifestyle) where TComponent : class
Parameters
Type Parameters
| Name |
Description |
| TContract |
|
| TComponent |
|
Extension Methods