KGy SOFT

PerformanceTestBaseTDelegate, TResultAddCase Method

KGy SOFT Core Libraries Help
Adds a test case to the test suit.
See the Examples section of the PerformanceTest class for some examples.

Namespace:  KGySoft.Diagnostics
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.4.0
Syntax

public PerformanceTestBase<TDelegate, TResult> AddCase(
	TDelegate testCase,
	string name = null
)

Parameters

testCase
Type: TDelegate
The test case.
name (Optional)
Type: SystemString
The name of the test. If not specified, a default name will be added.

Return Value

Type: PerformanceTestBaseTDelegate, TResult
The self PerformanceTestBaseTDelegate, TResult instance to provide fluent initialization syntax.
See Also

Reference