Designed to create a disposable context for a ReaderWriterLock so that a lock can be attained in a using statement
| C# |
public class DisposableLock : IDisposable
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| DisposableLock(ReaderWriterLock, Boolean) |
Constructor
| |
| Dispose()()() |
Releases lock context. IDisposable implementation
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| Lock |
The lock for this context
| |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString()()() | (Inherited from Object.) | |
| Write |
Whether or not writing is enabled for this context
|
| Object | |
| DisposableLock | |