Class AbstractContainer
Inheritance
System.Object
AbstractContainer
Assembly: DotNetNuke.dll
Syntax
public abstract class AbstractContainer : object, IContainer
Properties
|
Improve this Doc
View Source
Name
Declaration
public abstract string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
GetComponent(String, Type)
Declaration
public abstract 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
public abstract object GetComponent(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
GetComponent(Type)
Declaration
public abstract object GetComponent(Type contractType)
Parameters
Type |
Name |
Description |
Type |
contractType |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
GetComponent<TContract>()
Declaration
public virtual TContract GetComponent<TContract>()
Returns
Type |
Description |
TContract |
|
Type Parameters
Name |
Description |
TContract |
|
|
Improve this Doc
View Source
GetComponent<TContract>(String)
Declaration
public virtual 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
public abstract string[] GetComponentList(Type contractType)
Parameters
Type |
Name |
Description |
Type |
contractType |
|
Returns
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
GetComponentList<TContract>()
Declaration
public virtual string[] GetComponentList<TContract>()
Returns
Type |
Description |
System.String[] |
|
Type Parameters
Name |
Description |
TContract |
|
|
Improve this Doc
View Source
GetComponentSettings(String)
Declaration
public abstract IDictionary GetComponentSettings(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
IDictionary |
|
|
Improve this Doc
View Source
GetComponentSettings(Type)
Declaration
public virtual IDictionary GetComponentSettings(Type component)
Parameters
Type |
Name |
Description |
Type |
component |
|
Returns
Type |
Description |
IDictionary |
|
|
Improve this Doc
View Source
GetComponentSettings<TComponent>()
Declaration
public IDictionary GetComponentSettings<TComponent>()
Returns
Type |
Description |
IDictionary |
|
Type Parameters
Name |
Description |
TComponent |
|
|
Improve this Doc
View Source
GetCustomDependencies<TComponent>()
Declaration
public virtual IDictionary GetCustomDependencies<TComponent>()
Returns
Type |
Description |
IDictionary |
|
Type Parameters
Name |
Description |
TComponent |
|
|
Improve this Doc
View Source
RegisterComponent(String, Type, Type, ComponentLifeStyleType)
Declaration
public abstract 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
public virtual 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
public virtual 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
public virtual void RegisterComponent(Type contractType, Type componentType, ComponentLifeStyleType lifestyle)
Parameters
|
Improve this Doc
View Source
RegisterComponent(Type, Type)
Declaration
public virtual void RegisterComponent(Type contractType, Type componentType)
Parameters
Type |
Name |
Description |
Type |
contractType |
|
Type |
componentType |
|
|
Improve this Doc
View Source
RegisterComponent(Type)
Declaration
public virtual void RegisterComponent(Type componentType)
Parameters
Type |
Name |
Description |
Type |
componentType |
|
|
Improve this Doc
View Source
RegisterComponent<TComponent>()
Declaration
public virtual void RegisterComponent<TComponent>()
where TComponent : class
Type Parameters
Name |
Description |
TComponent |
|
|
Improve this Doc
View Source
RegisterComponent<TComponent>(String, ComponentLifeStyleType)
Declaration
public virtual 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
public virtual 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
public virtual void RegisterComponent<TContract, TComponent>()
where TComponent : class
Type Parameters
Name |
Description |
TContract |
|
TComponent |
|
|
Improve this Doc
View Source
RegisterComponent<TContract, TComponent>(String, ComponentLifeStyleType)
Declaration
public virtual 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
public virtual 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
public 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
public abstract 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
public 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
public 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
public abstract void RegisterComponentSettings(string name, IDictionary dependencies)
Parameters
Type |
Name |
Description |
System.String |
name |
|
IDictionary |
dependencies |
|
|
Improve this Doc
View Source
RegisterComponentSettings(Type, IDictionary)
Declaration
public virtual void RegisterComponentSettings(Type component, IDictionary dependencies)
Parameters
Type |
Name |
Description |
Type |
component |
|
IDictionary |
dependencies |
|
|
Improve this Doc
View Source
RegisterComponentSettings<TComponent>(IDictionary)
Declaration
public virtual void RegisterComponentSettings<TComponent>(IDictionary dependencies)
Parameters
Type |
Name |
Description |
IDictionary |
dependencies |
|
Type Parameters
Name |
Description |
TComponent |
|
Implements
Extension Methods