C# Class ManagedFusion.TimedLock

Thanks to Eric Gunnerson and Phil Haack
Afficher le fichier Open project: managedfusion/managedfusion Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

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

Lock ( object o ) : TimedLock

Lock an object.

Lock ( object o, System.TimeSpan timeout ) : TimedLock

The object to lock.

Private Methods

Méthode Description
TimedLock ( object o ) : System

Initializes a new instance of the TimedLock struct.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Lock() public static méthode

Lock an object.
public static Lock ( object o ) : TimedLock
o object The object to lock.
Résultat TimedLock

Lock() public static méthode

The object to lock.
///
public static Lock ( object o, System.TimeSpan timeout ) : TimedLock
o object The object to lock.
timeout System.TimeSpan The timeout.
Résultat TimedLock