C# Class CDP4CommonView.PrefixedUnitDialogViewModel

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

Public Methods

Method Description
PrefixedUnitDialogViewModel ( ) : System

Initializes a new instance of the PrefixedUnitDialogViewModel class.

The default constructor is required by MEF

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

Initializes a new instance of the PrefixedUnitDialogViewModel class

Protected Methods

Method Description
Initialize ( ) : void

Initialize the dialog

InitializeCommands ( ) : void

Initializes the ICommands of this dialog

PopulatePossiblePrefix ( ) : void

Populates the PossiblePrefix property

UpdateProperties ( ) : void

Update the properties

UpdateTransaction ( ) : void

Update the transaction with the Thing represented by this Dialog

Private Methods

Method Description
PopulatePossibleContainer ( ) : void

Populate the possible containers for a PrefixedUnit

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

PopulatePossiblePrefix() protected method

Populates the PossiblePrefix property
protected PopulatePossiblePrefix ( ) : void
return void

PrefixedUnitDialogViewModel() public method

Initializes a new instance of the PrefixedUnitDialogViewModel class.
The default constructor is required by MEF
public PrefixedUnitDialogViewModel ( ) : System
return System

PrefixedUnitDialogViewModel() public method

Initializes a new instance of the PrefixedUnitDialogViewModel class
public PrefixedUnitDialogViewModel ( prefixedUnit, IThingTransaction transaction, ISession session, bool isRoot, ThingDialogKind dialogKind, IThingDialogNavigationService thingDialogNavigationService, Thing container, IEnumerable chainOfContainers ) : System
prefixedUnit /// 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

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