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