Class TestBase<TConfig, TResult>
- Namespace
- Loehnert.Lisrt.HighVoltageTester.SpsElectronic
- Assembly
- Loehnert.Lisrt.HighVoltageTester.SpsElectronic.dll
Represents a test base.
public abstract class TestBase<TConfig, TResult> : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
Type Parameters
TConfig
The type of the configuration.
TResult
The type of the test result.
- Inheritance
-
PropertyChangedBaseTestBase<TConfig, TResult>
- Implements
-
INotifyPropertyChangedEx
- Derived
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Methods
Configure(TConfig)
Configures the test.
public abstract void Configure(TConfig configuration)
Parameters
configuration
TConfigConfiguration for the test.
Run(CancellationToken)
Runs a test.
public abstract TResult Run(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenCancellation token to cancel the method.
Returns
- TResult
Test result data.