C# Class CDP4CommonView.NoteDialogViewModel

dialog-view-model class representing a Note
Inheritance: DialogViewModelBase
Show file Open project: RHEAGROUP/COMET-IME-Community-Edition

Protected Methods

Method Description
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

Method Details

Initialize() protected method

Initialize the dialog
protected Initialize ( ) : void
return void

InitializeCommands() protected method

Initializes the ICommands of this dialog
protected InitializeCommands ( ) : void
return void

NoteDialogViewModel() protected method

Initializes a new instance of the NoteDialogViewModel{T} class.
The default constructor is required by MEF
protected NoteDialogViewModel ( ) : System
return System

NoteDialogViewModel() protected method

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 ///
return System

PopulateCategory() protected method

Populates the Category property
protected PopulateCategory ( ) : void
return void

PopulatePossibleOwner() protected method

Populates the PossibleOwner property
protected PopulatePossibleOwner ( ) : void
return void

UpdateProperties() protected method

Update the properties
protected UpdateProperties ( ) : void
return void

UpdateTransaction() protected method

Update the transaction with the Thing represented by this Dialog
protected UpdateTransaction ( ) : void
return void