C# Class Catel.MVVM.ProgressNotifyableViewModel

The progress notifyable view model base.
Inheritance: ViewModelBase, IProgressNotifyableViewModel
Afficher le fichier Open project: Catel/Catel

Méthodes publiques

Свойство Type Description
DetailedMessageProperty PropertyData
TaskIsIndeterminateProperty PropertyData
TaskMessageProperty PropertyData
TaskNameProperty PropertyData
TaskPercentageProperty PropertyData
TaskProperty PropertyData

Private Properties

Свойство Type Description
OnTaskMessageChanged void
OnTaskPercentageChanged void

Méthodes publiques

Méthode Description
ProgressNotifyableViewModel ( ) : System.ComponentModel

Initializes a new instance of the ProgressNotifyableViewModel class.

Must have a public constructor in order to be serializable.

ProgressNotifyableViewModel ( IServiceLocator serviceLocator, bool supportIEditableObject = true, bool ignoreMultipleModelsWarning = false, bool skipViewModelAttributesInitialization = false ) : System.ComponentModel

Initializes a new instance of the ViewModelBase class. This constructor allows the injection of a custom IServiceLocator.

ProgressNotifyableViewModel ( bool supportIEditableObject, bool ignoreMultipleModelsWarning, bool skipViewModelAttributesInitialization ) : System.ComponentModel

Initializes a new instance of the ProgressNotifyableViewModel class.

UpdateStatus ( int currentItem, int totalItems, ITask task ) : void

The update status.

Private Methods

Méthode Description
OnTaskMessageChanged ( ) : void

Occurs when the value of the TaskMessage property is changed.

OnTaskPercentageChanged ( ) : void

Occurs when the value of the TaskPercentage property is changed.

Method Details

ProgressNotifyableViewModel() public méthode

Initializes a new instance of the ProgressNotifyableViewModel class.
Must have a public constructor in order to be serializable.
public ProgressNotifyableViewModel ( ) : System.ComponentModel
Résultat System.ComponentModel

ProgressNotifyableViewModel() public méthode

Initializes a new instance of the ViewModelBase class. This constructor allows the injection of a custom IServiceLocator.
A mapped model is not registered. A mapped model property is not found.
public ProgressNotifyableViewModel ( IServiceLocator serviceLocator, bool supportIEditableObject = true, bool ignoreMultipleModelsWarning = false, bool skipViewModelAttributesInitialization = false ) : System.ComponentModel
serviceLocator IServiceLocator The service locator to inject. If null, the will be used.
supportIEditableObject bool if set to true, the view model will natively support models that /// implement the interface.
ignoreMultipleModelsWarning bool if set to true, the warning when using multiple models is ignored.
skipViewModelAttributesInitialization bool if set to true, the initialization will be skipped and must be done manually via .
Résultat System.ComponentModel

ProgressNotifyableViewModel() public méthode

Initializes a new instance of the ProgressNotifyableViewModel class.
A mapped model is not registered. A mapped model property is not found.
public ProgressNotifyableViewModel ( bool supportIEditableObject, bool ignoreMultipleModelsWarning, bool skipViewModelAttributesInitialization ) : System.ComponentModel
supportIEditableObject bool if set to true, the view model will natively support models that /// implement the interface.
ignoreMultipleModelsWarning bool if set to true, the warning when using multiple models is ignored.
skipViewModelAttributesInitialization bool /// if set to true, the initialization will be skipped and must be done manually via . ///
Résultat System.ComponentModel

UpdateStatus() public méthode

The update status.
The is null.
public UpdateStatus ( int currentItem, int totalItems, ITask task ) : void
currentItem int The current item.
totalItems int The total items.
task ITask The task
Résultat void

Property Details

DetailedMessageProperty public_oe static_oe property

Register the DetailedMessage property so it is known in the class.
public static PropertyData DetailedMessageProperty
Résultat PropertyData

TaskIsIndeterminateProperty public_oe static_oe property

Register the TaskPercentage property so it is known in the class.
public static PropertyData TaskIsIndeterminateProperty
Résultat PropertyData

TaskMessageProperty public_oe static_oe property

Register the TaskMessage property so it is known in the class.
public static PropertyData TaskMessageProperty
Résultat PropertyData

TaskNameProperty public_oe static_oe property

Register the TaskName property so it is known in the class.
public static PropertyData TaskNameProperty
Résultat PropertyData

TaskPercentageProperty public_oe static_oe property

Register the TaskPercentage property so it is known in the class.
public static PropertyData TaskPercentageProperty
Résultat PropertyData

TaskProperty public_oe static_oe property

Register the Task property so it is known in the class.
public static PropertyData TaskProperty
Résultat PropertyData