Class LoadTypeDataToModulesViewModel
- Namespace
- Loehnert.Lisrt.TypeAndResult.ViewModels
- Assembly
- Loehnert.Lisrt.TypeAndResult.dll
View model for type data loading to modules.
[Export("TypeDataModule", typeof(ILoadTypeData))]
public class LoadTypeDataToModulesViewModel : LoadTypeDataViewModel, IViewAware, IScreen, IHaveDisplayName, IGuardClose, IClose, IChild, IWindow, IActivate, IDeactivate, INotifyPropertyChangedEx, ILoadTypeData, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseViewAwareScreenLoadTypeDataToModulesViewModel
- Implements
-
IViewAwareIScreenIHaveDisplayNameIGuardCloseICloseIChildIActivateIDeactivateINotifyPropertyChangedEx
- Inherited Members
-
Screen.OnInitialize()Screen.ParentScreen.DisplayNameScreen.IsActiveScreen.IsInitializedScreen.ActivatedScreen.AttemptingDeactivationScreen.DeactivatedViewAware.DefaultContextViewAware.ViewsViewAware.ViewAttachedPropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
LoadTypeDataToModulesViewModel(GeminiTypeDataModule, IEnumerable<ILisrtModule>)
Initializes a new instance of the LoadTypeDataToModulesViewModel class.
[ImportingConstructor]
public LoadTypeDataToModulesViewModel(GeminiTypeDataModule geminiModule, IEnumerable<ILisrtModule> rootModules)
Parameters
geminiModule
GeminiTypeDataModuleGemini type data module.
rootModules
IEnumerable<ILisrtModule>LisRT root modules.
Fields
LoadTypeDataContractName
Contract name for the export.
public const string LoadTypeDataContractName = "TypeDataModule"
Field Value
Properties
MoreThanOneTypeDataModuleExists
Gets a value indicating whether more than one TypeDataModule exists.
public bool MoreThanOneTypeDataModuleExists { get; }
Property Value
SelectedModules
Gets the selected modules.
public IEnumerable<TypeDataModule> SelectedModules { get; }
Property Value
TypeDataModules
Gets or sets the type data modules.
public IEnumerable<CheckedListItem<TypeDataModule>> TypeDataModules { get; protected set; }
Property Value
Methods
OnActivate()
Called when activating.
protected override void OnActivate()