Class ModulesModule
Represents a Gemini module for Loehnert.Lisrt.Modules assembly.
Implements
Caliburn.Micro.INotifyPropertyChangedEx
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Caliburn.Micro.PropertyChangedBase.Refresh()
Caliburn.Micro.PropertyChangedBase.NotifyOfPropertyChange(System.String)
Caliburn.Micro.PropertyChangedBase.NotifyOfPropertyChange<TProperty>(System.Linq.Expressions.Expression<System.Func<TProperty>>)
Caliburn.Micro.PropertyChangedBase.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)
Caliburn.Micro.PropertyChangedBase.OnUIThread(System.Action)
Caliburn.Micro.PropertyChangedBase.Set<T>(T, T, System.String)
Caliburn.Micro.PropertyChangedBase.IsNotifying
Caliburn.Micro.PropertyChangedBase.PropertyChanged
Namespace: Loehnert.Lisrt.Modules
Assembly: Loehnert.Lisrt.Modules.dll
Syntax
[Export(typeof(IModule))]
public class ModulesModule : ModuleBase, INotifyPropertyChangedEx, IModule
Constructors
ModulesModule(IModulesService, IEnumerable<ILisrtModule>)
Initializes a new instance of the ModulesModule class.
Declaration
[ImportingConstructor]
public ModulesModule(IModulesService modulesService, [ImportMany("RootModule", typeof(ILisrtModule))] IEnumerable<ILisrtModule> rootModules)
Parameters
Type | Name | Description |
---|---|---|
IModulesService | modulesService | Modules configuration service. |
IEnumerable<ILisrtModule> | rootModules | All root modules. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when |
Properties
ModulesMenuGroup
Gets the MenuItemGroupDefinition for Loehnert.Lisrt.Modules assembly.
Declaration
[Export]
public static MenuItemGroupDefinition ModulesMenuGroup { get; }
Property Value
Type | Description |
---|---|
MenuItemGroupDefinition |
ViewModulesMenuItem
Gets the MenuItemDefinition for "View modules".
Declaration
[Export]
public static MenuItemDefinition ViewModulesMenuItem { get; }
Property Value
Type | Description |
---|---|
MenuItemDefinition |
Methods
PostInitialize()
Initializes the modules Gemini module.
Declaration
public override void PostInitialize()
Overrides
Remarks
Loads the modules configuration from the Loehnert.Lisrt.Modules.Properties.Settings.StartupConfigPath.
Implements
Caliburn.Micro.INotifyPropertyChangedEx
System.ComponentModel.INotifyPropertyChanged