Class TestBase<TConfig, TResult>
- Namespace
- Loehnert.Lisrt.HighVoltageTester.Chroma
- Assembly
- Loehnert.Lisrt.HighVoltageTester.Chroma.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.