C# 클래스 Abbotware.Core.Threading.ScopedEventHandleGuard

Class that emulates RAII functionality around the System.Threading.EventWaitHandle
상속: BaseComponent
파일 보기 프로젝트 열기: abbotware/abbotware

공개 메소드들

메소드 설명
ScopedEventHandleGuard ( EventWaitHandle eventHandle, ILogger logger ) : System

Initializes a new instance of the ScopedEventHandleGuard class.

보호된 메소드들

메소드 설명
OnDisposeUnmanagedResources ( ) : void

메소드 상세

OnDisposeUnmanagedResources() 보호된 메소드

protected OnDisposeUnmanagedResources ( ) : void
리턴 void

ScopedEventHandleGuard() 공개 메소드

Initializes a new instance of the ScopedEventHandleGuard class.
public ScopedEventHandleGuard ( EventWaitHandle eventHandle, ILogger logger ) : System
eventHandle EventWaitHandle mutex object the scoped guard is wrapping
logger ILogger injected logger
리턴 System