bovender framework
C# framework that implements MVVM and more
Bovender.UnitTests.Mvvm.ProcessModelForTesting Class Reference
Inheritance diagram for Bovender.UnitTests.Mvvm.ProcessModelForTesting:
Bovender.Mvvm.Models.ProcessModel Bovender.Mvvm.Models.IProcessModel Bovender.UnitTests.Mvvm.ExceptionProcessModelForTesting

Public Member Functions

override bool Execute ()
 This method may be called by a ProcessViewModelBase-derived class in a worker task that wraps this method in a try...catch structure. More...
 
- Public Member Functions inherited from Bovender.Mvvm.Models.ProcessModel
void Cancel ()
 Cancels the current process More...
 

Properties

long Duration [get]
 
- Properties inherited from Bovender.Mvvm.Models.ProcessModel
ProcessModel Dependent [get, set]
 
bool IsCancellationRequested [get, set]
 This property is set to true by the Cancel() method. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Bovender.Mvvm.Models.ProcessModel
virtual void OnCancelling ()
 
- Events inherited from Bovender.Mvvm.Models.ProcessModel
EventHandler< ProcessModelEventArgsCancelling
 

Detailed Description

Definition at line 26 of file ProcessModelForTesting.cs.

Member Function Documentation

override bool Bovender.UnitTests.Mvvm.ProcessModelForTesting.Execute ( )
inlinevirtual

This method may be called by a ProcessViewModelBase-derived class in a worker task that wraps this method in a try...catch structure.

The implementation does not need to and should not handle tasks or threads itself.

Returns
True if successful, false if failed or cancelled.

Implements Bovender.Mvvm.Models.ProcessModel.

Definition at line 30 of file ProcessModelForTesting.cs.


The documentation for this class was generated from the following file: