C# 클래스 Catel.MVVM.ProgressNotifyableViewModel

The progress notifyable view model base.
상속: ViewModelBase, IProgressNotifyableViewModel
파일 보기 프로젝트 열기: Catel/Catel

공개 프로퍼티들

프로퍼티 타입 설명
DetailedMessageProperty PropertyData
TaskIsIndeterminateProperty PropertyData
TaskMessageProperty PropertyData
TaskNameProperty PropertyData
TaskPercentageProperty PropertyData
TaskProperty PropertyData

Private Properties

프로퍼티 타입 설명
OnTaskMessageChanged void
OnTaskPercentageChanged void

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
OnTaskMessageChanged ( ) : void

Occurs when the value of the TaskMessage property is changed.

OnTaskPercentageChanged ( ) : void

Occurs when the value of the TaskPercentage property is changed.

메소드 상세

ProgressNotifyableViewModel() 공개 메소드

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

ProgressNotifyableViewModel() 공개 메소드

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 .
리턴 System.ComponentModel

ProgressNotifyableViewModel() 공개 메소드

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 . ///
리턴 System.ComponentModel

UpdateStatus() 공개 메소드

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
리턴 void

프로퍼티 상세

DetailedMessageProperty 공개적으로 정적으로 프로퍼티

Register the DetailedMessage property so it is known in the class.
public static PropertyData DetailedMessageProperty
리턴 PropertyData

TaskIsIndeterminateProperty 공개적으로 정적으로 프로퍼티

Register the TaskPercentage property so it is known in the class.
public static PropertyData TaskIsIndeterminateProperty
리턴 PropertyData

TaskMessageProperty 공개적으로 정적으로 프로퍼티

Register the TaskMessage property so it is known in the class.
public static PropertyData TaskMessageProperty
리턴 PropertyData

TaskNameProperty 공개적으로 정적으로 프로퍼티

Register the TaskName property so it is known in the class.
public static PropertyData TaskNameProperty
리턴 PropertyData

TaskPercentageProperty 공개적으로 정적으로 프로퍼티

Register the TaskPercentage property so it is known in the class.
public static PropertyData TaskPercentageProperty
리턴 PropertyData

TaskProperty 공개적으로 정적으로 프로퍼티

Register the Task property so it is known in the class.
public static PropertyData TaskProperty
리턴 PropertyData