Table of Contents

Class ModulesModule

Namespace
Loehnert.Lisrt.Modules
Assembly
Loehnert.Lisrt.Modules.dll

Represents a Gemini module for Loehnert.Lisrt.Modules assembly.

[Export(typeof(IModule))]
public class ModulesModule : ModuleBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IModule
Inheritance
PropertyChangedBase
ModulesModule
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged
Extension Methods

Constructors

ModulesModule(IModulesService, IEnumerable<ILisrtModule>)

Initializes a new instance of the ModulesModule class.

[ImportingConstructor]
public ModulesModule(IModulesService modulesService, IEnumerable<ILisrtModule> rootModules)

Parameters

modulesService IModulesService

Modules configuration service.

rootModules IEnumerable<ILisrtModule>

All root modules.

Exceptions

ArgumentNullException

Thrown when modulesService or rootModules is null.

Properties

ModulesMenuGroup

[Export]
public static MenuItemGroupDefinition ModulesMenuGroup { get; }

Property Value

MenuItemGroupDefinition

ViewModulesMenuItem

Gets the MenuItemDefinition for "View modules".

[Export]
public static MenuItemDefinition ViewModulesMenuItem { get; }

Property Value

MenuItemDefinition

Methods

PostInitialize()

Initializes the modules Gemini module.

public override void PostInitialize()

Remarks

Loads the modules configuration from the Loehnert.Lisrt.Modules.Properties.Settings.StartupConfigPath.