• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class SimpleContainer

Inheritance
System.Object
AbstractContainer
SimpleContainer
Implements
IContainer
Inherited Members
AbstractContainer.GetComponent<TContract>()
AbstractContainer.GetComponent<TContract>(String)
AbstractContainer.GetComponentList<TContract>()
AbstractContainer.GetComponentSettings(Type)
AbstractContainer.GetComponentSettings<TComponent>()
AbstractContainer.RegisterComponent(String, Type, Type)
AbstractContainer.RegisterComponent(Type, Type)
AbstractContainer.RegisterComponent(Type, Type, ComponentLifeStyleType)
AbstractContainer.RegisterComponent(Type)
AbstractContainer.RegisterComponent<TComponent>()
AbstractContainer.RegisterComponent<TComponent>(String)
AbstractContainer.RegisterComponent<TComponent>(String, ComponentLifeStyleType)
AbstractContainer.RegisterComponent<TContract, TComponent>()
AbstractContainer.RegisterComponent<TContract, TComponent>(String)
AbstractContainer.RegisterComponent<TContract, TComponent>(String, ComponentLifeStyleType)
AbstractContainer.RegisterComponentSettings(Type, IDictionary)
AbstractContainer.RegisterComponentSettings<TComponent>(IDictionary)
AbstractContainer.RegisterComponentInstance(String, Object)
AbstractContainer.RegisterComponentInstance<TContract>(Object)
AbstractContainer.RegisterComponentInstance<TContract>(String, Object)
AbstractContainer.GetCustomDependencies<TComponent>()
Namespace: DotNetNuke.ComponentModel
Assembly: DotNetNuke.dll
Syntax
public class SimpleContainer : AbstractContainer, IContainer

Constructors

| Improve this Doc View Source

SimpleContainer()

Initializes a new instance of the SimpleContainer class.

Declaration
public SimpleContainer()
| Improve this Doc View Source

SimpleContainer(String)

Initializes a new instance of the SimpleContainer class.

Declaration
public SimpleContainer(string name)
Parameters
Type Name Description
System.String name

Properties

| Improve this Doc View Source

Name

Declaration
public override string Name { get; }
Property Value
Type Description
System.String
Overrides
AbstractContainer.Name

Methods

| Improve this Doc View Source

GetComponent(String, Type)

Declaration
public override object GetComponent(string name, Type contractType)
Parameters
Type Name Description
System.String name
Type contractType
Returns
Type Description
System.Object
Overrides
AbstractContainer.GetComponent(String, Type)
| Improve this Doc View Source

GetComponent(String)

Declaration
public override object GetComponent(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
System.Object
Overrides
AbstractContainer.GetComponent(String)
| Improve this Doc View Source

GetComponent(Type)

Declaration
public override object GetComponent(Type contractType)
Parameters
Type Name Description
Type contractType
Returns
Type Description
System.Object
Overrides
AbstractContainer.GetComponent(Type)
| Improve this Doc View Source

GetComponentList(Type)

Declaration
public override string[] GetComponentList(Type contractType)
Parameters
Type Name Description
Type contractType
Returns
Type Description
System.String[]
Overrides
AbstractContainer.GetComponentList(Type)
| Improve this Doc View Source

GetComponentSettings(String)

Declaration
public override IDictionary GetComponentSettings(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
IDictionary
Overrides
AbstractContainer.GetComponentSettings(String)
| Improve this Doc View Source

RegisterComponent(String, Type, Type, ComponentLifeStyleType)

Declaration
public override void RegisterComponent(string name, Type contractType, Type type, ComponentLifeStyleType lifestyle)
Parameters
Type Name Description
System.String name
Type contractType
Type type
ComponentLifeStyleType lifestyle
Overrides
AbstractContainer.RegisterComponent(String, Type, Type, ComponentLifeStyleType)
| Improve this Doc View Source

RegisterComponent(String, Type)

Declaration
public override void RegisterComponent(string name, Type type)
Parameters
Type Name Description
System.String name
Type type
Overrides
AbstractContainer.RegisterComponent(String, Type)
| Improve this Doc View Source

RegisterComponentInstance(String, Type, Object)

Declaration
public override void RegisterComponentInstance(string name, Type contractType, object instance)
Parameters
Type Name Description
System.String name
Type contractType
System.Object instance
Overrides
AbstractContainer.RegisterComponentInstance(String, Type, Object)
| Improve this Doc View Source

RegisterComponentSettings(String, IDictionary)

Declaration
public override void RegisterComponentSettings(string name, IDictionary dependencies)
Parameters
Type Name Description
System.String name
IDictionary dependencies
Overrides
AbstractContainer.RegisterComponentSettings(String, IDictionary)

Implements

IContainer

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS