CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Threading.AsyncManualResetEvent Class Reference

Async/await implementation of a ManualResetEvent. More...

Public Member Functions

Task WaitAsync ()
 Get awaitable task for the event.
void SetCancellationToken (CancellationToken ct)
 Sets the cancellation token for the event.
void Set ()
 Set the event, unblocking any code awaiting the event.
void Reset ()
 Reset the event, preparing it for reuse.

Detailed Description

Async/await implementation of a ManualResetEvent.

Member Function Documentation

◆ Reset()

void Csla.Threading.AsyncManualResetEvent.Reset ( )
inline

Reset the event, preparing it for reuse.

◆ Set()

void Csla.Threading.AsyncManualResetEvent.Set ( )
inline

Set the event, unblocking any code awaiting the event.

◆ SetCancellationToken()

void Csla.Threading.AsyncManualResetEvent.SetCancellationToken ( CancellationToken ct)
inline

Sets the cancellation token for the event.

Parameters
ctThe cancellation token to set.

◆ WaitAsync()

Task Csla.Threading.AsyncManualResetEvent.WaitAsync ( )
inline

Get awaitable task for the event.


The documentation for this class was generated from the following file: