Class GeminiTypeDataModule
- Namespace
- Loehnert.Lisrt.TypeAndResult.GeminiModule
- Assembly
- Loehnert.Lisrt.TypeAndResult.dll
Represents a module for type data handling.
[Export]
[Export(typeof(IModule))]
public class GeminiTypeDataModule : ModuleBase, INotifyPropertyChangedEx, INotifyPropertyChanged, IModule
- Inheritance
-
PropertyChangedBaseGeminiTypeDataModule
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
GeminiTypeDataModule(ITypeDataProvider[], IEnumerable<ILisrtModule>, IAdditionalParameterService, IAdditionalLimitService, ISplashScreen)
Initializes a new instance of the GeminiTypeDataModule class.
[ImportingConstructor]
public GeminiTypeDataModule(ITypeDataProvider[] providers, IEnumerable<ILisrtModule> rootModules, IAdditionalParameterService additionalParameterService, IAdditionalLimitService additionalLimitService, ISplashScreen splashScreen = null)
Parameters
providers
ITypeDataProvider[]Type data providers.
rootModules
IEnumerable<ILisrtModule>Lisrt root modules.
additionalParameterService
IAdditionalParameterServiceService for additional type data fields.
additionalLimitService
IAdditionalLimitServiceService for additional type data limits.
splashScreen
ISplashScreenSplash screen.
Exceptions
- ArgumentNullException
Thrown when
providers
,rootModules
oradditionalParameterService
is null.- ArgumentException
Thrown when
providers
is empty.
Properties
DefaultProvider
Gets or sets the default type data provider.
public ITypeDataProvider DefaultProvider { get; set; }
Property Value
Providers
Gets the type data providers.
public IEnumerable<ITypeDataProvider> Providers { get; }
Property Value
Methods
Initialize()
Initializes the default provider for the gemini module.
public override void Initialize()
PostInitialize()
Post initializes the gemini module.
public override void PostInitialize()
Remarks
Loads the type data by command line args.