Class ManagementContext
Inheritance
System.Object
ManagementContext
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Web.Console
Assembly: Mediachase.WebConsoleLib.dll
Version: 10.8.0Syntax
public class ManagementContext
Properties
Configs
Returns the list of activated modules.
Declaration
public ModuleConfig[] Configs { get; }
Property Value
Type | Description |
---|---|
ModuleConfig[] | The modules. |
ConsoleUICulture
Gets or sets the console language.
Declaration
public CultureInfo ConsoleUICulture { get; set; }
Property Value
Type | Description |
---|---|
System.Globalization.CultureInfo | The console language. |
Current
Gets the current.
Declaration
public static ManagementContext Current { get; }
Property Value
Type | Description |
---|---|
ManagementContext | The current. |
Parameters
Gets or sets the parameters.
Declaration
public NameValueCollection Parameters { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Specialized.NameValueCollection | The parameters. |
Methods
ConvertViewConfigToAdminView(ViewConfig, Grid, ModuleConfig)
Declaration
public AdminView ConvertViewConfigToAdminView(ViewConfig config, Grid grid, ModuleConfig moduleConfig)
Parameters
Type | Name | Description |
---|---|---|
ViewConfig | config | |
Grid | grid | |
ModuleConfig | moduleConfig |
Returns
Type | Description |
---|---|
AdminView |
FindBusinessFoundationView(String, String, String)
Finds the business foundation view.
Declaration
public AdminView FindBusinessFoundationView(string metaClassName, string viewName, string placeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | metaClassName | Name of the meta class. |
System.String | viewName | Name of the view. |
System.String | placeName | The place name. |
Returns
Type | Description |
---|---|
AdminView |
FindModuleByName(String)
Finds the name of the module by.
Declaration
public ModuleConfig FindModuleByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
Returns
Type | Description |
---|---|
ModuleConfig |
FindView(String, String, String)
Finds the view.
Declaration
public AdminView FindView(string appId, string viewId, string placeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | appId | The app id. |
System.String | viewId | The view id. |
System.String | placeName | The place name. |
Returns
Type | Description |
---|---|
AdminView |
FindView(String, String, String, ModuleConfig)
Finds the view.
Declaration
public AdminView FindView(string appId, string viewId, string placeName, ModuleConfig moduleConfig)
Parameters
Type | Name | Description |
---|---|---|
System.String | appId | The app id. |
System.String | viewId | The view id. |
System.String | placeName | The place name. |
ModuleConfig | moduleConfig | The configuration settings for this module. |
Returns
Type | Description |
---|---|
AdminView |