C# Class Abbotware.Core.Threading.ScopedEventHandleGuard

Class that emulates RAII functionality around the System.Threading.EventWaitHandle
Inheritance: BaseComponent
Afficher le fichier Open project: abbotware/abbotware

Méthodes publiques

Méthode Description
ScopedEventHandleGuard ( EventWaitHandle eventHandle, ILogger logger ) : System

Initializes a new instance of the ScopedEventHandleGuard class.

Méthodes protégées

Méthode Description
OnDisposeUnmanagedResources ( ) : void

Method Details

OnDisposeUnmanagedResources() protected méthode

protected OnDisposeUnmanagedResources ( ) : void
Résultat void

ScopedEventHandleGuard() public méthode

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
Résultat System