RestrictedAccessDictionaryTKey, TValue Class |
Namespace: Bio.Util
public class RestrictedAccessDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
The RestrictedAccessDictionaryTKey, TValue type exposes the following members.
Name | Description | |
---|---|---|
RestrictedAccessDictionaryTKey, TValue(IDictionaryTKey, TValue) |
Create read-only dictionary by wrapping a dictionary.
| |
RestrictedAccessDictionaryTKey, TValue(IDictionaryTKey, TValue, AccessFlags) |
Create a restricted access dictionary by wrapping a dictionary.
|
Name | Description | |
---|---|---|
AddIsAllowed |
True if and only if this dictionary allows elements to be added.
| |
ChangeElementsIsAllowed |
True if and only if this dictionary allows elements to change
| |
Count | ||
IsReadOnly | ||
Item | ||
Keys | ||
RemoveIsAllowed |
True if and only if this dictionary allows elments to be removed.
| |
Values |
Name | Description | |
---|---|---|
Add(KeyValuePairTKey, TValue) | ||
Add(TKey, TValue) | ||
Clear | ||
Contains | ||
ContainsKey | ||
CopyTo | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator |
Enumerate the KeyValuePairs of the dictionary
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(KeyValuePairTKey, TValue) |
Remove an item from a restricted dictionary if that is allowd. It is not, raise an exception.
| |
Remove(TKey) | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetValue |
Name | Description | |
---|---|---|
AppendKeyValuePairTKey, TValue(KeyValuePairTKey, TValue) | Overloaded.
Yield an Enumeration of the list with the item appended to the end
(Defined by IEnumerableExtensions.) | |
AppendKeyValuePairTKey, TValue(IEnumerableKeyValuePairTKey, TValue) | Overloaded.
Yield a concatenation of the two Enumerable lists
(Defined by IEnumerableExtensions.) | |
ElementAtKeyValuePairTKey, TValue |
Returns the element at a specified index in a sequence.
(Defined by IEnumerableExtensions.) | |
ForEachKeyValuePairTKey, TValue(ActionKeyValuePairTKey, TValue) | Overloaded.
Calls an action on each element of a sequence. The action takes one argument: an element. It has no return value.
(Defined by IEnumerableExtensions.) | |
ForEachKeyValuePairTKey, TValue(ActionKeyValuePairTKey, TValue, Int32) | Overloaded.
Calls an action on each element of a sequence. The action takes two arguments: an element and the index of the element.
It has no return value.
(Defined by IEnumerableExtensions.) | |
ShuffleKeyValuePairTKey, TValue |
Shuffles the elements of a sequence.
(Defined by IEnumerableExtensions.) | |
StringJoin | Overloaded.
Creates a string from a sequence of elements. No delimiter is used.
(Defined by IEnumerableExtensions.) | |
StringJoin(String) | Overloaded.
Creates a delimited string from a sequence of elements.
(Defined by IEnumerableExtensions.) | |
StringJoin(String, Int32, String) | Overloaded.
Creates a delimited string from a sequence of elements. At most maxLength elements will be used and "..." shows that more elements were in the list.
(Defined by IEnumerableExtensions.) | |
SubSequenceKeyValuePairTKey, TValue |
Take the items from a sequence starting with item # start (index 0) and contining for count items.
(Defined by IEnumerableExtensions.) | |
ToHashSetKeyValuePairTKey, TValue | Overloaded.
Creates a HashSet from a sequence. If the sequence is already a HashSet, a new HashSet is still created.
(Defined by IEnumerableExtensions.) | |
ToHashSetKeyValuePairTKey, TValue(IEqualityComparerKeyValuePairTKey, TValue) | Overloaded.
Creates a HashSet from a sequence. If the sequence is already a HashSet, a new HashSet is still created.
(Defined by IEnumerableExtensions.) | |
ToQueueKeyValuePairTKey, TValue |
Creates a Queue from a sequence. If the sequence is already a Queue, a new Queue is still created.
(Defined by IEnumerableExtensions.) |