C# Class Watchdog.Validation.Core.Util.ReentrancyGuard.ExitToken

A single token created to delineate a guarded scope. When created, it sets the locked flag to of the given guard to true. When disposed it sets the flag back to false.
Inheritance: IDisposable
Afficher le fichier Open project: JDolinger/Watchdog

Méthodes publiques

Méthode Description
Dispose ( ) : void

Resets the guards locked state.

ExitToken ( ReentrancyGuard g ) : System

Initializes a new instance of the ExitToken class, which has the effect of locking the ReentrancyGuard.

Method Details

Dispose() public méthode

Resets the guards locked state.
public Dispose ( ) : void
Résultat void

ExitToken() public méthode

Initializes a new instance of the ExitToken class, which has the effect of locking the ReentrancyGuard.
public ExitToken ( ReentrancyGuard g ) : System
g ReentrancyGuard /// The containing the /// locked state. ///
Résultat System