C# Класс WebApplications.Utilities.Threading.AsyncSemaphore.AllReleaser

Used to release multiple semaphores that have been waited on by WaitAllAsync.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Default IDisposable

Private Properties

Свойство Тип Описание

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

Метод Описание
AllReleaser ( int count ) : System

Initializes a new instance of the AllReleaser struct.

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Описание методов

AllReleaser() публичный Метод

Initializes a new instance of the AllReleaser struct.
public AllReleaser ( int count ) : System
count int The total possible number of semaphores.
Результат System

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Описание свойств

Default публичное статическое свойство

A default instance of the releaser that does nothing.
public static IDisposable Default
Результат IDisposable