Show / Hide Table of Contents

    Class LockableDictionary

    Inheritance
    object
    LockableDictionary
    Implements
    IDictionary<string, Lockable>
    ICollection<KeyValuePair<string, Lockable>>
    IEnumerable<KeyValuePair<string, Lockable>>
    IEnumerable
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: DesignData.SDS2.Model
    Assembly: DesignData.SDS2.Model.dll
    Syntax
    public class LockableDictionary : IDictionary<string, Lockable>, ICollection<KeyValuePair<string, Lockable>>, IEnumerable<KeyValuePair<string, Lockable>>, IEnumerable

    Constructors

    LockableDictionary()

    Declaration
    public LockableDictionary()

    LockableDictionary(LockableDictionary)

    Declaration
    public LockableDictionary(LockableDictionary other)
    Parameters
    Type Name Description
    LockableDictionary other

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    bool

    this[string]

    Declaration
    public Lockable this[string key] { get; set; }
    Parameters
    Type Name Description
    string key
    Property Value
    Type Description
    Lockable

    Keys

    Declaration
    public ICollection<string> Keys { get; }
    Property Value
    Type Description
    ICollection<string>

    Values

    Declaration
    public ICollection<Lockable> Values { get; }
    Property Value
    Type Description
    ICollection<Lockable>

    Methods

    Add(KeyValuePair<string, Lockable>)

    Declaration
    public void Add(KeyValuePair<string, Lockable> item)
    Parameters
    Type Name Description
    KeyValuePair<string, Lockable> item

    Add(string, Lockable)

    Declaration
    public void Add(string key, Lockable value)
    Parameters
    Type Name Description
    string key
    Lockable value

    Clear()

    Declaration
    public void Clear()

    Contains(KeyValuePair<string, Lockable>)

    Declaration
    public bool Contains(KeyValuePair<string, Lockable> item)
    Parameters
    Type Name Description
    KeyValuePair<string, Lockable> item
    Returns
    Type Description
    bool

    ContainsKey(string)

    Declaration
    public bool ContainsKey(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    bool

    CopyTo(KeyValuePair<string, Lockable>[])

    Declaration
    public void CopyTo(KeyValuePair<string, Lockable>[] array)
    Parameters
    Type Name Description
    KeyValuePair<string, Lockable>[] array

    CopyTo(KeyValuePair<string, Lockable>[], int)

    Declaration
    public void CopyTo(KeyValuePair<string, Lockable>[] array, int arrayIndex)
    Parameters
    Type Name Description
    KeyValuePair<string, Lockable>[] array
    int arrayIndex

    ~LockableDictionary()

    Declaration
    protected ~LockableDictionary()

    GetEnumerator()

    Declaration
    public LockableDictionary.LockableDictionaryEnumerator GetEnumerator()
    Returns
    Type Description
    LockableDictionary.LockableDictionaryEnumerator

    Remove(KeyValuePair<string, Lockable>)

    Declaration
    public bool Remove(KeyValuePair<string, Lockable> item)
    Parameters
    Type Name Description
    KeyValuePair<string, Lockable> item
    Returns
    Type Description
    bool

    Remove(string)

    Declaration
    public bool Remove(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    bool

    TryGetValue(string, out Lockable)

    Declaration
    public bool TryGetValue(string key, out Lockable value)
    Parameters
    Type Name Description
    string key
    Lockable value
    Returns
    Type Description
    bool

    empty()

    Declaration
    public bool empty()
    Returns
    Type Description
    bool

    Implements

    IDictionary<TKey, TValue>
    ICollection<T>
    IEnumerable<T>
    IEnumerable
    Back to top