C# Класс CDP4CommonView.NoteDialogViewModel

dialog-view-model class representing a Note
Наследование: DialogViewModelBase
Показать файл Открыть проект

Защищенные методы

Метод Описание
Initialize ( ) : void

Initialize the dialog

InitializeCommands ( ) : void

Initializes the ICommands of this dialog

NoteDialogViewModel ( ) : System

Initializes a new instance of the NoteDialogViewModel{T} class.

The default constructor is required by MEF

NoteDialogViewModel ( note, IThingTransaction transaction, ISession session, bool isRoot, ThingDialogKind dialogKind, IThingDialogNavigationService thingDialogNavigationService, Thing container, IEnumerable chainOfContainers ) : System

Initializes a new instance of the NoteDialogViewModel{T} class

PopulateCategory ( ) : void

Populates the Category property

PopulatePossibleOwner ( ) : void

Populates the PossibleOwner property

UpdateProperties ( ) : void

Update the properties

UpdateTransaction ( ) : void

Update the transaction with the Thing represented by this Dialog

Описание методов

Initialize() защищенный Метод

Initialize the dialog
protected Initialize ( ) : void
Результат void

InitializeCommands() защищенный Метод

Initializes the ICommands of this dialog
protected InitializeCommands ( ) : void
Результат void

NoteDialogViewModel() защищенный Метод

Initializes a new instance of the NoteDialogViewModel{T} class.
The default constructor is required by MEF
protected NoteDialogViewModel ( ) : System
Результат System

NoteDialogViewModel() защищенный Метод

Initializes a new instance of the NoteDialogViewModel{T} class
protected NoteDialogViewModel ( note, IThingTransaction transaction, ISession session, bool isRoot, ThingDialogKind dialogKind, IThingDialogNavigationService thingDialogNavigationService, Thing container, IEnumerable chainOfContainers ) : System
note /// The that is the subject of the current view-model. This is the object /// that will be either created, or edited. ///
transaction IThingTransaction /// The that contains the log of recorded changes. ///
session ISession /// The in which the current is to be added or updated ///
isRoot bool /// Assert if this is the root of all ///
dialogKind ThingDialogKind /// The kind of operation this performs ///
thingDialogNavigationService IThingDialogNavigationService /// The that is used to navigate to a dialog of a specific . ///
container Thing /// The that contains the created in this Dialog ///
chainOfContainers IEnumerable /// The optional chain of containers that contains the argument ///
Результат System

PopulateCategory() защищенный Метод

Populates the Category property
protected PopulateCategory ( ) : void
Результат void

PopulatePossibleOwner() защищенный Метод

Populates the PossibleOwner property
protected PopulatePossibleOwner ( ) : void
Результат void

UpdateProperties() защищенный Метод

Update the properties
protected UpdateProperties ( ) : void
Результат void

UpdateTransaction() защищенный Метод

Update the transaction with the Thing represented by this Dialog
protected UpdateTransaction ( ) : void
Результат void