C# 클래스 NuGetGallery.Monitoring.MonitorSet

A collection of monitors to run at a specific interval
파일 보기 프로젝트 열기: JetBrains/NuGetOperations 1 사용 예제들

공개 메소드들

메소드 설명
MonitorSet ( string name, System.TimeSpan period ) : System
MonitorSet ( string name, System.TimeSpan period, IEnumerable monitors ) : System
Run ( IEventReporter reporter, CancellationToken cancelToken ) : Task

Starts running the monitor.

메소드 상세

MonitorSet() 공개 메소드

public MonitorSet ( string name, System.TimeSpan period ) : System
name string
period System.TimeSpan
리턴 System

MonitorSet() 공개 메소드

public MonitorSet ( string name, System.TimeSpan period, IEnumerable monitors ) : System
name string
period System.TimeSpan
monitors IEnumerable
리턴 System

Run() 공개 메소드

Starts running the monitor.
public Run ( IEventReporter reporter, CancellationToken cancelToken ) : Task
reporter IEventReporter An object used to report status to the underlying monitoring infrastructure
cancelToken System.Threading.CancellationToken A token used to cancel the monitoring operation
리턴 Task