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
Show file 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 static property

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

IsIndeterminatedProperty public static property

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

MessageProperty public static property

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

NameProperty public static property

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

PercentageProperty public static property

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