Class ModulesModule
Represents a Gemini module for Loehnert.Lisrt.Modules assembly.
[Export(typeof(IModule))]
public class ModulesModule : ModuleBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IModule
- Inheritance
-
PropertyChangedBaseModulesModule
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.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
IModulesServiceModules configuration service.
rootModules
IEnumerable<ILisrtModule>All root modules.
Exceptions
- ArgumentNullException
Thrown when
modulesService
orrootModules
is null.
Properties
ModulesMenuGroup
Gets the MenuItemGroupDefinition for Loehnert.Lisrt.Modules assembly.
[Export]
public static MenuItemGroupDefinition ModulesMenuGroup { get; }
Property Value
ViewModulesMenuItem
Gets the MenuItemDefinition for "View modules".
[Export]
public static MenuItemDefinition ViewModulesMenuItem { get; }
Property Value
Methods
PostInitialize()
Initializes the modules Gemini module.
public override void PostInitialize()
Remarks
Loads the modules configuration from the Loehnert.Lisrt.Modules.Properties.Settings.StartupConfigPath.