Class ComponentFactory
Inheritance
System.Object
ComponentFactory
Assembly: DotNetNuke.dll
Syntax
public static class ComponentFactory : object
Properties
|
Improve this Doc
View Source
Container
Declaration
public static IContainer Container { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetComponent(String, Type)
Declaration
public static 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 static 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 static object GetComponent(Type contractType)
Parameters
Type |
Name |
Description |
Type |
contractType |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
GetComponent<TContract>()
Declaration
public static TContract GetComponent<TContract>()
Returns
Type |
Description |
TContract |
|
Type Parameters
Name |
Description |
TContract |
|
|
Improve this Doc
View Source
GetComponent<TContract>(String)
Declaration
public static 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 static string[] GetComponentList(Type contractType)
Parameters
Type |
Name |
Description |
Type |
contractType |
|
Returns
Type |
Description |
System.String[] |
|
|
Improve this Doc
View Source
GetComponentList<TContract>()
Declaration
public static string[] GetComponentList<TContract>()
Returns
Type |
Description |
System.String[] |
|
Type Parameters
Name |
Description |
TContract |
|
|
Improve this Doc
View Source
GetComponents<TContract>()
Declaration
public static Dictionary<string, TContract> GetComponents<TContract>()
Returns
Type |
Description |
Dictionary<System.String, TContract> |
|
Type Parameters
Name |
Description |
TContract |
|
|
Improve this Doc
View Source
GetComponentSettings(String)
Declaration
public static IDictionary GetComponentSettings(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
IDictionary |
|
|
Improve this Doc
View Source
GetComponentSettings(Type)
Declaration
public static IDictionary GetComponentSettings(Type component)
Parameters
Type |
Name |
Description |
Type |
component |
|
Returns
Type |
Description |
IDictionary |
|
|
Improve this Doc
View Source
GetComponentSettings<TComponent>()
Declaration
public static IDictionary GetComponentSettings<TComponent>()
Returns
Type |
Description |
IDictionary |
|
Type Parameters
Name |
Description |
TComponent |
|
|
Improve this Doc
View Source
InstallComponents(IComponentInstaller[])
Declaration
public static void InstallComponents(params IComponentInstaller[] installers)
Parameters
|
Improve this Doc
View Source
RegisterComponent(String, Type, Type)
Declaration
public static 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 static void RegisterComponent(string name, Type componentType)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Type |
componentType |
|
|
Improve this Doc
View Source
RegisterComponent(Type, Type)
Declaration
public static void RegisterComponent(Type contractType, Type componentType)
Parameters
Type |
Name |
Description |
Type |
contractType |
|
Type |
componentType |
|
|
Improve this Doc
View Source
RegisterComponent(Type)
Declaration
public static void RegisterComponent(Type componentType)
Parameters
Type |
Name |
Description |
Type |
componentType |
|
|
Improve this Doc
View Source
RegisterComponent<TComponent>()
Declaration
public static void RegisterComponent<TComponent>()
where TComponent : class
Type Parameters
Name |
Description |
TComponent |
|
|
Improve this Doc
View Source
RegisterComponent<TComponent>(String)
Declaration
public static 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 static void RegisterComponent<TContract, TComponent>()
where TComponent : class
Type Parameters
Name |
Description |
TContract |
|
TComponent |
|
|
Improve this Doc
View Source
RegisterComponent<TContract, TComponent>(String)
Declaration
public static 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 static 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 static 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 static 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 static 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 static 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 static void RegisterComponentSettings(Type component, IDictionary dependencies)
Parameters
Type |
Name |
Description |
Type |
component |
|
IDictionary |
dependencies |
|
|
Improve this Doc
View Source
RegisterComponentSettings<TComponent>(IDictionary)
Declaration
public static void RegisterComponentSettings<TComponent>(IDictionary dependencies)
Parameters
Type |
Name |
Description |
IDictionary |
dependencies |
|
Type Parameters
Name |
Description |
TComponent |
|