Table of Contents

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
PropertyChangedBase
TestBase<TConfig, TResult>
Implements
INotifyPropertyChangedEx
Derived
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Methods

Configure(TConfig)

Configures the test.

public abstract void Configure(TConfig configuration)

Parameters

configuration TConfig

Configuration for the test.

Run(CancellationToken)

Runs a test.

public abstract TResult Run(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Cancellation token to cancel the method.

Returns

TResult

Test result data.