C# Class Catel.MVVM.Tasks.TaskBase

The task base.
This class inherits from ModelBase in use it as model as part of the wizard view models.
Inheritance: Catel.Data.ModelBase, ITask
显示文件 Open project: Catel/Catel

Public Properties

Property Type Description
AutomaticallyDispatchProperty PropertyData
IsIndeterminatedProperty PropertyData
MessageProperty PropertyData
NameProperty PropertyData
PercentageProperty PropertyData

Public Methods

Method Description
Execute ( ) : void

The execute.

Rollback ( ) : void

The rollback.

Protected Methods

Method Description
TaskBase ( string name ) : System

Initializes a new instance of the TaskBase class.

Private Methods

Method Description
PercentagePropertyChanged ( ) : void

Method Details

Execute() public abstract method

The execute.
public abstract Execute ( ) : void
return void

Rollback() public method

The rollback.
public Rollback ( ) : void
return void

TaskBase() protected method

Initializes a new instance of the TaskBase class.
The is null.
protected TaskBase ( string name ) : System
name string The task name name.
return System

Property Details

AutomaticallyDispatchProperty public_oe static_oe property

Register the AutomaticallyDispatch property so it is known in the class.
public static PropertyData AutomaticallyDispatchProperty
return PropertyData

IsIndeterminatedProperty public_oe static_oe property

Register the IsIndeterminate property so it is known in the class.
public static PropertyData IsIndeterminatedProperty
return PropertyData

MessageProperty public_oe static_oe property

Register the Message property so it is known in the class.
public static PropertyData MessageProperty
return PropertyData

NameProperty public_oe static_oe property

Register the Name property so it is known in the class.
public static PropertyData NameProperty
return PropertyData

PercentageProperty public_oe static_oe property

Register the Percentage property so it is known in the class.
public static PropertyData PercentageProperty
return PropertyData