C# Класс NBench.PerformanceCounters.Collection.PerformanceCounterProxy

Concrete implementation of IPerformanceCounterProxy that recreates the underlying PerformanceCounter on fault up to a maxmium limit. NOT THREAD SAFE.
Наследование: IPerformanceCounterProxy
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Collect ( ) : double

Return the raw value of the counter

Dispose ( ) : void
Dispose ( bool isDisposing ) : void
PerformanceCounterProxy ( Func counterFactory ) : System

Приватные методы

Метод Описание
DisposeCounter ( ) : void
GetOrCreate ( ) : PerformanceCounter

Описание методов

Collect() публичный Метод

Return the raw value of the counter
public Collect ( ) : double
Результат double

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( bool isDisposing ) : void
isDisposing bool
Результат void

PerformanceCounterProxy() публичный Метод

public PerformanceCounterProxy ( Func counterFactory ) : System
counterFactory Func
Результат System