CVB.Net 14.0
NoStatistics Class Reference

Statistics object for anything not being able to report statistics. More...

Inherits StreamStatistics.

Public Member Functions

override bool TryGetValue (StreamInfo query, out double value)
 Always returns false. More...
 
- Public Member Functions inherited from StreamStatistics
IEnumerator< KeyValuePair< StreamInfo, double > > GetEnumerator ()
 Gets the typed enumerator for the available statistics. More...
 
abstract bool TryGetValue (StreamInfo query, out double value)
 Tries to retrieve the value of statistic to query . More...
 

Static Public Attributes

static readonly StreamStatistics Default = new NoStatistics()
 The singleton instance for no statistics.
 

Additional Inherited Members

- Properties inherited from StreamStatistics
double this[StreamInfo query] [get]
 Gets the value of the statistic to query . More...
 

Detailed Description

Statistics object for anything not being able to report statistics.

Member Function Documentation

◆ TryGetValue()

override bool TryGetValue ( StreamInfo  query,
out double  value 
)
virtual

Always returns false.

Parameters
queryIgnored.
valueSet to Double.NaN.
Returns
Always false.

Implements StreamStatistics.