C# Класс Abbotware.Core.Threading.ScopedEventHandleGuard

Class that emulates RAII functionality around the System.Threading.EventWaitHandle
Наследование: BaseComponent
Показать файл Открыть проект

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

Метод Описание
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