Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
NBench
BenchmarkContext
CounterExists
NBench.BenchmarkContext.CounterExists C# (CSharp) Méthode
BenchmarkContext Class Documentation
Afficher le fichier
Open project: petabridge/NBench
CounterExists()
public
méthode
Determines if a counter with a particular name has been registered or not.
public
CounterExists
(
string
name
) :
bool
name
string
The name of the counter.
Résultat
bool
public bool CounterExists(string name) { return _counters.ContainsKey(name); }
BenchmarkContext
BenchmarkContext
CounterExists
GetCounter