Table of Contents

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
PropertyChangedBase
ViewAware
Screen
LoadTypeDataToModulesViewModel
Implements
IViewAware
IScreen
IHaveDisplayName
IGuardClose
IClose
IChild
IActivate
IDeactivate
INotifyPropertyChangedEx
Inherited Members
Screen.OnInitialize()
Screen.Parent
Screen.DisplayName
Screen.IsActive
Screen.IsInitialized
Screen.Activated
Screen.AttemptingDeactivation
Screen.Deactivated
ViewAware.DefaultContext
ViewAware.Views
ViewAware.ViewAttached
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

LoadTypeDataToModulesViewModel(GeminiTypeDataModule, IEnumerable<ILisrtModule>)

Initializes a new instance of the LoadTypeDataToModulesViewModel class.

[ImportingConstructor]
public LoadTypeDataToModulesViewModel(GeminiTypeDataModule geminiModule, IEnumerable<ILisrtModule> rootModules)

Parameters

geminiModule GeminiTypeDataModule

Gemini type data module.

rootModules IEnumerable<ILisrtModule>

LisRT root modules.

Fields

LoadTypeDataContractName

Contract name for the export.

public const string LoadTypeDataContractName = "TypeDataModule"

Field Value

string

Properties

MoreThanOneTypeDataModuleExists

Gets a value indicating whether more than one TypeDataModule exists.

public bool MoreThanOneTypeDataModuleExists { get; }

Property Value

bool

SelectedModules

Gets the selected modules.

public IEnumerable<TypeDataModule> SelectedModules { get; }

Property Value

IEnumerable<TypeDataModule>

TypeDataModules

Gets or sets the type data modules.

public IEnumerable<CheckedListItem<TypeDataModule>> TypeDataModules { get; protected set; }

Property Value

IEnumerable<CheckedListItem<TypeDataModule>>

Methods

OnActivate()

Called when activating.

protected override void OnActivate()