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

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.UnitTests.Mvvm.ProcessModelForTesting
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...
 

Additional Inherited Members

- Protected Member Functions inherited from Bovender.Mvvm.Models.ProcessModel
virtual void OnCancelling ()
 
- Properties inherited from Bovender.UnitTests.Mvvm.ProcessModelForTesting
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...
 
- Events inherited from Bovender.Mvvm.Models.ProcessModel
EventHandler< ProcessModelEventArgsCancelling
 

Detailed Description

Definition at line 25 of file ExceptionProcessModelForTesting.cs.

Member Function Documentation

override bool Bovender.UnitTests.Mvvm.ExceptionProcessModelForTesting.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 27 of file ExceptionProcessModelForTesting.cs.


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