Show / Hide Table of Contents

Class AbstractContainer

Inheritance
object
AbstractContainer
SimpleContainer
Implements
IContainer
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.ComponentModel
Assembly: DotNetNuke.dll
Syntax
public abstract class AbstractContainer : IContainer

Constructors

AbstractContainer()

Declaration
protected AbstractContainer()

Properties

Name

Declaration
public abstract string Name { get; }
Property Value
Type Description
string

Methods

GetComponent(string)

Declaration
public abstract object GetComponent(string name)
Parameters
Type Name Description
string name
Returns
Type Description
object

GetComponent(string, Type)

Declaration
public abstract object GetComponent(string name, Type contractType)
Parameters
Type Name Description
string name
Type contractType
Returns
Type Description
object

GetComponent(Type)

Declaration
public abstract object GetComponent(Type contractType)
Parameters
Type Name Description
Type contractType
Returns
Type Description
object

GetComponentList(Type)

Declaration
public abstract string[] GetComponentList(Type contractType)
Parameters
Type Name Description
Type contractType
Returns
Type Description
string[]

GetComponentList<TContract>()

Declaration
public virtual string[] GetComponentList<TContract>()
Returns
Type Description
string[]
Type Parameters
Name Description
TContract

GetComponentSettings(string)

Declaration
public abstract IDictionary GetComponentSettings(string name)
Parameters
Type Name Description
string name
Returns
Type Description
IDictionary

GetComponentSettings(Type)

Declaration
public virtual IDictionary GetComponentSettings(Type component)
Parameters
Type Name Description
Type component
Returns
Type Description
IDictionary

GetComponentSettings<TComponent>()

Declaration
public IDictionary GetComponentSettings<TComponent>()
Returns
Type Description
IDictionary
Type Parameters
Name Description
TComponent

GetComponent<TContract>()

Declaration
public virtual TContract GetComponent<TContract>()
Returns
Type Description
TContract
Type Parameters
Name Description
TContract

GetComponent<TContract>(string)

Declaration
public virtual TContract GetComponent<TContract>(string name)
Parameters
Type Name Description
string name
Returns
Type Description
TContract
Type Parameters
Name Description
TContract

GetCustomDependencies<TComponent>()

Declaration
public virtual IDictionary GetCustomDependencies<TComponent>()
Returns
Type Description
IDictionary
Type Parameters
Name Description
TComponent

RegisterComponent(string, Type)

Declaration
public virtual void RegisterComponent(string name, Type componentType)
Parameters
Type Name Description
string name
Type componentType

RegisterComponent(string, Type, Type)

Declaration
public virtual void RegisterComponent(string name, Type contractType, Type componentType)
Parameters
Type Name Description
string name
Type contractType
Type componentType

RegisterComponent(string, Type, Type, ComponentLifeStyleType)

Declaration
public abstract void RegisterComponent(string name, Type contractType, Type componentType, ComponentLifeStyleType lifestyle)
Parameters
Type Name Description
string name
Type contractType
Type componentType
ComponentLifeStyleType lifestyle

RegisterComponent(Type)

Declaration
public virtual void RegisterComponent(Type componentType)
Parameters
Type Name Description
Type componentType

RegisterComponent(Type, Type)

Declaration
public virtual void RegisterComponent(Type contractType, Type componentType)
Parameters
Type Name Description
Type contractType
Type componentType

RegisterComponent(Type, Type, ComponentLifeStyleType)

Declaration
public virtual void RegisterComponent(Type contractType, Type componentType, ComponentLifeStyleType lifestyle)
Parameters
Type Name Description
Type contractType
Type componentType
ComponentLifeStyleType lifestyle

RegisterComponentInstance(string, object)

Declaration
public void RegisterComponentInstance(string name, object instance)
Parameters
Type Name Description
string name
object instance

RegisterComponentInstance(string, Type, object)

Declaration
public abstract void RegisterComponentInstance(string name, Type contractType, object instance)
Parameters
Type Name Description
string name
Type contractType
object instance

RegisterComponentInstance<TContract>(object)

Declaration
public void RegisterComponentInstance<TContract>(object instance)
Parameters
Type Name Description
object instance
Type Parameters
Name Description
TContract

RegisterComponentInstance<TContract>(string, object)

Declaration
public void RegisterComponentInstance<TContract>(string name, object instance)
Parameters
Type Name Description
string name
object instance
Type Parameters
Name Description
TContract

RegisterComponentSettings(string, IDictionary)

Declaration
public abstract void RegisterComponentSettings(string name, IDictionary dependencies)
Parameters
Type Name Description
string name
IDictionary dependencies

RegisterComponentSettings(Type, IDictionary)

Declaration
public virtual void RegisterComponentSettings(Type component, IDictionary dependencies)
Parameters
Type Name Description
Type component
IDictionary dependencies

RegisterComponentSettings<TComponent>(IDictionary)

Declaration
public virtual void RegisterComponentSettings<TComponent>(IDictionary dependencies)
Parameters
Type Name Description
IDictionary dependencies
Type Parameters
Name Description
TComponent

RegisterComponent<TComponent>()

Declaration
public virtual void RegisterComponent<TComponent>() where TComponent : class
Type Parameters
Name Description
TComponent

RegisterComponent<TComponent>(string)

Declaration
public virtual void RegisterComponent<TComponent>(string name) where TComponent : class
Parameters
Type Name Description
string name
Type Parameters
Name Description
TComponent

RegisterComponent<TComponent>(string, ComponentLifeStyleType)

Declaration
public virtual void RegisterComponent<TComponent>(string name, ComponentLifeStyleType lifestyle) where TComponent : class
Parameters
Type Name Description
string name
ComponentLifeStyleType lifestyle
Type Parameters
Name Description
TComponent

RegisterComponent<TContract, TComponent>()

Declaration
public virtual void RegisterComponent<TContract, TComponent>() where TComponent : class
Type Parameters
Name Description
TContract
TComponent

RegisterComponent<TContract, TComponent>(string)

Declaration
public virtual 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
public virtual void RegisterComponent<TContract, TComponent>(string name, ComponentLifeStyleType lifestyle) where TComponent : class
Parameters
Type Name Description
string name
ComponentLifeStyleType lifestyle
Type Parameters
Name Description
TContract
TComponent

Implements

IContainer

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS