Class LockableDictionary
Inheritance
System.Object
LockableDictionary
Implements
System.Collections.Generic.IDictionary<
System.String,
Lockable>
System.Collections.Generic.ICollection<
System.Collections.Generic.KeyValuePair<
System.String,
Lockable>>
System.Collections.Generic.IEnumerable<
System.Collections.Generic.KeyValuePair<
System.String,
Lockable>>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
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
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
Item[String]
Declaration
public Lockable this[string key] { get; set; }
Parameters
Type |
Name |
Description |
System.String |
key |
|
Property Value
Keys
Declaration
public ICollection<string> Keys { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<System.String> |
|
Values
Declaration
public ICollection<Lockable> Values { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<Lockable> |
|
Methods
Add(KeyValuePair<String, Lockable>)
Declaration
public void Add(KeyValuePair<string, Lockable> item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, Lockable> |
item |
|
Add(String, Lockable)
Declaration
public void Add(string key, Lockable value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Lockable |
value |
|
Clear()
Declaration
Contains(KeyValuePair<String, Lockable>)
Declaration
public bool Contains(KeyValuePair<string, Lockable> item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, Lockable> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
ContainsKey(String)
Declaration
public bool ContainsKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
CopyTo(KeyValuePair<String, Lockable>[])
Declaration
public void CopyTo(KeyValuePair<string, Lockable>[] array)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, Lockable>[] |
array |
|
CopyTo(KeyValuePair<String, Lockable>[], Int32)
Declaration
public void CopyTo(KeyValuePair<string, Lockable>[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, Lockable>[] |
array |
|
System.Int32 |
arrayIndex |
|
empty()
Declaration
Returns
Type |
Description |
System.Boolean |
|
Finalize()
Declaration
protected void Finalize()
GetEnumerator()
Declaration
public LockableDictionary.LockableDictionaryEnumerator GetEnumerator()
Returns
Remove(KeyValuePair<String, Lockable>)
Declaration
public bool Remove(KeyValuePair<string, Lockable> item)
Parameters
Type |
Name |
Description |
System.Collections.Generic.KeyValuePair<System.String, Lockable> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
Remove(String)
Declaration
public bool Remove(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
TryGetValue(String, out Lockable)
Declaration
public bool TryGetValue(string key, out Lockable value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Lockable |
value |
|
Returns
Type |
Description |
System.Boolean |
|
Explicit Interface Implementations
IEnumerable<KeyValuePair<String, Lockable>>.GetEnumerator()
Declaration
IEnumerator<KeyValuePair<string, Lockable>> IEnumerable<KeyValuePair<string, Lockable>>.GetEnumerator()
Returns
Type |
Description |
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String, Lockable>> |
|
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
Implements
System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable