Class ModuleViewModel
Used to parse ShellModule and ShellModuleManifest into a format that is suitable for client consumption.
Inheritance
System.Object
ModuleViewModel
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: EPiServer.Shell.Modules
Assembly: EPiServer.Shell.dll
Version: 10.10.4Syntax
public class ModuleViewModel
Constructors
ModuleViewModel(ShellModule, IClientResourceService)
Initializes a new instance of the ModuleViewModel class.
Declaration
public ModuleViewModel(ShellModule module, IClientResourceService clientResourceService)
Parameters
Type | Name | Description |
---|---|---|
ShellModule | module | The module. |
IClientResourceService | clientResourceService | The client resource service. |
Properties
CssResources
The CSS resources needed by the module.
Declaration
public ICollection<string> CssResources { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<System.String> |
HelpPath
The path to the web help
Declaration
public string HelpPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Initializer
Module initializer class.
Declaration
public string Initializer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ModuleDependencies
The module dependencies to load before this one.
Declaration
public ICollection<ModuleDependencyViewModel> ModuleDependencies { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<ModuleDependencyViewModel> |
Name
The name of the module
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Routes
The available routes.
Declaration
public IList<ModuleRoutePair> Routes { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<ModuleRoutePair> |
ScriptResources
The script resources needed by the module.
Declaration
public ICollection<string> ScriptResources { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<System.String> |