Threading Threading
Threading Threading
DocFX + Singulink = ♥

Search Results for

    Struct KeyLock<T>

    Represents an acquired lock for a specific key in a KeyLocker<T>. Disposing the instance releases the lock.

    Implements
    IDisposable
    Namespace: Singulink.Threading
    Assembly: Singulink.Threading.dll
    Syntax
    public struct KeyLock<T> : IDisposable where T : notnull
    Type Parameters
    Name Description
    T

    Properties

    Name Description
    IsDefault

    Gets a value indicating whether the instance is in its default, uninitialized state.

    IsDisposed

    Gets a value indicating whether the object has been disposed.

    Key

    Gets the key associated with this lock.

    Parent

    Gets the parent KeyLocker<T> that this lock is associated with.

    Methods

    Name Description
    Dispose()

    Releases the lock associated with the key.

    © Singulink. All rights reserved.