C# 클래스 Unit.Tests.PerformanceCollectorMock

Mock to test clients of PerformanceCollector.
상속: IPerformanceCollector
파일 보기 프로젝트 열기: Microsoft/ApplicationInsights-dotnet-server 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Sync object

공개 메소드들

메소드 설명
Collect ( Exception>.Action onReadingFailure ) : double>>.IEnumerable
CreateCounter ( string perfCounterName, bool &usesInstanceNamePlaceholder, string &error ) : PerformanceCounter
RefreshCounters ( ) : void
RefreshPerformanceCounter ( PerformanceCounterData pcd ) : void
RegisterCounter ( string perfCounterName, string reportAs, bool isCustomCounter, string &error, bool blockCounterWithInstancePlaceHolder ) : void

비공개 메소드들

메소드 설명
RegisterCounter ( string originalString, string reportAs, PerformanceCounter pc, bool isCustomCounter, bool usesInstanceNamePlaceholder, string &error ) : void
RegisterPerformanceCounter ( string originalString, string reportAs, string categoryName, string counterName, string instanceName, bool usesInstanceNamePlaceholder, bool isCustomCounter ) : void

메소드 상세

Collect() 공개 메소드

public Collect ( Exception>.Action onReadingFailure ) : double>>.IEnumerable
onReadingFailure Exception>.Action
리턴 double>>.IEnumerable

CreateCounter() 공개 메소드

public CreateCounter ( string perfCounterName, bool &usesInstanceNamePlaceholder, string &error ) : PerformanceCounter
perfCounterName string
usesInstanceNamePlaceholder bool
error string
리턴 System.Diagnostics.PerformanceCounter

RefreshCounters() 공개 메소드

public RefreshCounters ( ) : void
리턴 void

RefreshPerformanceCounter() 공개 메소드

public RefreshPerformanceCounter ( PerformanceCounterData pcd ) : void
pcd Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.Implementation.PerformanceCounterData
리턴 void

RegisterCounter() 공개 메소드

public RegisterCounter ( string perfCounterName, string reportAs, bool isCustomCounter, string &error, bool blockCounterWithInstancePlaceHolder ) : void
perfCounterName string
reportAs string
isCustomCounter bool
error string
blockCounterWithInstancePlaceHolder bool
리턴 void

프로퍼티 상세

Sync 공개적으로 프로퍼티

public object Sync
리턴 object