PerformanceTestBaseTDelegate, TResultGetLength Method
Gets the length of the result in any unit specified by the
GetUnit method.
The base implementation returns element count if
TResult is
IEnumerable; otherwise, the size of
TResult in bytes (which is 4 or 8 bytes for reference types, depending on the platform target).
Namespace: KGySoft.DiagnosticsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.1.0
protected virtual int GetLength(
TResult result
)
Protected Overridable Function GetLength (
result As TResult
) As Integer
protected:
virtual int GetLength(
TResult result
)
abstract GetLength :
result : 'TResult -> int
override GetLength :
result : 'TResult -> int
- result TResult
- The result.
Int32The length of the result.