KGy SOFT

PerformanceTestBaseTDelegate, TResultGetUnit Method

KGy SOFT Core Libraries Help
Gets the length unit name of TResult.
The base implementation returns the element name if TResult is IEnumerableT (C# alias name, if applicable); a localized string for item, if TResult is a non-generic IEnumerable; otherwise, a localized string for byte.

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

protected virtual string GetUnit()

Return Value

Type: String
The unit name of TResult.
See Also

Reference