📄 powercollections.xml
字号:
</member>
<member name="T:Wintellect.PowerCollections.DictionaryBase`2.ValuesCollection">
<summary>
A private class that implements ICollection<TValue> and ICollection for the
Values collection. The collection is read-only.
</summary>
</member>
<member name="T:Wintellect.PowerCollections.DictionaryBase`2.DictionaryEnumeratorWrapper">
<summary>
A class that wraps a IDictionaryEnumerator around an IEnumerator that
enumerates KeyValuePairs. This is useful in implementing IDictionary, because
IEnumerator can be implemented with an iterator, but IDictionaryEnumerator cannot.
</summary>
</member>
<member name="M:Wintellect.PowerCollections.DictionaryBase`2.DictionaryEnumeratorWrapper.#ctor(System.Collections.Generic.IEnumerator{System.Collections.Generic.KeyValuePair{`0,`1}})">
<summary>
Constructor.
</summary>
<param name="enumerator">The enumerator of KeyValuePairs that is being wrapped.</param>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.NewPair(`0,`1)">
<summary>
Helper function to create a new KeyValuePair struct.
</summary>
<param name="key">The key.</param>
<param name="value">The value.</param>
<returns>A new KeyValuePair.</returns>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.NewPair(`0)">
<summary>
Helper function to create a new KeyValuePair struct with a default value.
</summary>
<param name="key">The key.</param>
<returns>A new KeyValuePair.</returns>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.#ctor">
<summary>
Creates a new OrderedDictionary. The TKey must implemented IComparable<TKey>
or IComparable.
The CompareTo method of this interface will be used to compare keys in this dictionary.
</summary>
<exception cref="T:System.InvalidOperationException">TKey does not implement IComparable<TKey>.</exception>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.#ctor(System.Collections.Generic.IComparer{`0})">
<summary>
Creates a new OrderedDictionary. The Compare method of the passed comparison object
will be used to compare keys in this dictionary.
</summary>
<remarks>
The GetHashCode and Equals methods of the provided IComparer<TKey> will never
be called, and need not be implemented.</remarks>
<param name="comparer">An instance of IComparer<TKey> that will be used to compare keys.</param>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.#ctor(System.Comparison{`0})">
<summary>
Creates a new OrderedDictionary. The passed delegate will be used to compare keys in this dictionary.
</summary>
<param name="comparison">A delegate to a method that will be used to compare keys.</param>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}})">
<summary>
<para>Creates a new OrderedDictionary. The TKey must implemented IComparable<TKey>
or IComparable.
The CompareTo method of this interface will be used to compare keys in this dictionary.</para>
<para>A collection and keys and values (typically another dictionary) is used to initialized the
contents of the dictionary.</para>
</summary>
<param name="keysAndValues">A collection of keys and values whose contents are used to initialized the dictionary.</param>
<exception cref="T:System.InvalidOperationException">TKey does not implement IComparable<TKey>.</exception>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}},System.Collections.Generic.IComparer{`0})">
<summary>
<para>Creates a new OrderedDictionary. The Compare method of the passed comparison object
will be used to compare keys in this dictionary.</para>
<para>A collection and keys and values (typically another dictionary) is used to initialized the
contents of the dictionary.</para>
</summary>
<remarks>
The GetHashCode and Equals methods of the provided IComparer<TKey> will never
be called, and need not be implemented.</remarks>
<param name="keysAndValues">A collection of keys and values whose contents are used to initialized the dictionary.</param>
<param name="comparer">An instance of IComparer<TKey> that will be used to compare keys.</param>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}},System.Comparison{`0})">
<summary>
<para>Creates a new OrderedDictionary. The passed delegate will be used to compare keys in this dictionary.</para>
<para>A collection and keys and values (typically another dictionary) is used to initialized the
contents of the dictionary.</para>
</summary>
<param name="keysAndValues">A collection of keys and values whose contents are used to initialized the dictionary.</param>
<param name="comparison">A delegate to a method that will be used to compare keys.</param>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.#ctor(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{`0,`1}},System.Collections.Generic.IComparer{`0},System.Collections.Generic.IComparer{System.Collections.Generic.KeyValuePair{`0,`1}})">
<summary>
Creates a new OrderedDictionary. The passed comparer
will be used to compare key-value pairs in this dictionary. Used internally
from other constructors.
</summary>
<param name="keysAndValues">A collection of keys and values whose contents are used to initialized the dictionary.</param>
<param name="keyComparer">An IComparer that will be used to compare keys.</param>
<param name="pairComparer">An IComparer that will be used to compare key-value pairs.</param>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.#ctor(System.Collections.Generic.IComparer{`0},System.Collections.Generic.IComparer{System.Collections.Generic.KeyValuePair{`0,`1}},Wintellect.PowerCollections.RedBlackTree{System.Collections.Generic.KeyValuePair{`0,`1}})">
<summary>
Creates a new OrderedDictionary. The passed comparison delegate
will be used to compare keys in this dictionary, and the given tree is used. Used internally for Clone().
</summary>
<param name="keyComparer">An IComparer that will be used to compare keys.</param>
<param name="pairComparer">A delegate to a method that will be used to compare key-value pairs.</param>
<param name="tree">RedBlackTree that contains the data for the dictionary.</param>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.Clone">
<summary>
Makes a shallow clone of this dictionary; i.e., if keys or values of the
dictionary are reference types, then they are not cloned. If TKey or TValue is a value type,
then each element is copied as if by simple assignment.
</summary>
<remarks>Cloning the dictionary takes time O(N), where N is the number of keys in the dictionary.</remarks>
<returns>The cloned dictionary.</returns>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.NonCloneableType(System.Type)">
<summary>
Throw an InvalidOperationException indicating that this type is not cloneable.
</summary>
<param name="t">Type to test.</param>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.CloneContents">
<summary>
Makes a deep clone of this dictionary. A new dictionary is created with a clone of
each entry of this dictionary, by calling ICloneable.Clone on each element. If TKey or TValue is
a value type, then each element is copied as if by simple assignment.
</summary>
<remarks><para>If TKey or TValue is a reference type, it must implement
ICloneable. Otherwise, an InvalidOperationException is thrown.</para>
<para>Cloning the dictionary takes time O(N log N), where N is the number of keys in the dictionary.</para></remarks>
<returns>The cloned dictionary.</returns>
<exception cref="T:System.InvalidOperationException">TKey or TValue is a reference type that does not implement ICloneable.</exception>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.Reversed">
<summary>
Returns a View collection that can be used for enumerating the keys and values in the collection in
reversed order.
</summary>
<remarks>
<p>Typically, this method is used in conjunction with a foreach statement. For example:
<code>
foreach(KeyValuePair<TKey, TValue> pair in dictionary.Reversed()) {
// process pair
}
</code></p>
<p>If an entry is added to or deleted from the dictionary while the View is being enumerated, then
the enumeration will end with an InvalidOperationException.</p>
<p>Calling Reverse does not copy the data in the dictionary, and the operation takes constant time.</p>
</remarks>
<returns>An OrderedDictionary.View of key-value pairs in reverse order.</returns>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.Range(`0,System.Boolean,`0,System.Boolean)">
<summary>
Returns a collection that can be used for enumerating some of the keys and values in the collection.
Only keys that are greater than <paramref name="from"/> and
less than <paramref name="to"/> are included. The keys are enumerated in sorted order.
Keys equal to the end points of the range can be included or excluded depending on the
<paramref name="fromInclusive"/> and <paramref name="toInclusive"/> parameters.
</summary>
<remarks>
<p>If <paramref name="from"/> is greater than or equal to <paramref name="to"/>, the returned collection is empty. </p>
<p>The sorted order of the keys is determined by the comparison instance or delegate used
to create the dictionary.</p>
<p>Typically, this property is used in conjunction with a foreach statement. For example:</p>
<code>
foreach(KeyValuePair<TKey, TValue> pair in dictionary.Range(from, true, to, false)) {
// process pair
}
</code>
<p>Calling Range does not copy the data in the dictionary, and the operation takes constant time.</p></remarks>
<param name="from">The lower bound of the range.</param>
<param name="fromInclusive">If true, the lower bound is inclusive--keys equal to the lower bound will
be included in the range. If false, the lower bound is exclusive--keys equal to the lower bound will not
be included in the range.</param>
<param name="to">The upper bound of the range. </param>
<param name="toInclusive">If true, the upper bound is inclusive--keys equal to the upper bound will
be included in the range. If false, the upper bound is exclusive--keys equal to the upper bound will not
be included in the range.</param>
<returns>An OrderedDictionary.View of key-value pairs in the given range.</returns>
</member>
<member name="M:Wintellect.PowerCollections.OrderedDictionary`2.RangeFrom(`0,System.Boolean)">
<summary>
Returns a collection that can be used for enumerating some of the keys and values in the collection.
Only keys that are greater than (and optionally, equal to) <paramref name="from"/> are included.
The keys are enumerated in sorted order. Keys equal to <paramref name="from"/> can be included
or excluded depending on the <paramref name="fromInclusive"/> parameter.
</summary>
<remarks>
<p>The sorted order of the keys is determined by the comparison instance or delegate used
to create the dictionary.</p>
<p>Typically, this property is used in conjunction with a foreach statement. For example:</p>
<code>
foreach(KeyValuePair<TKey, TValue> pair in dictionary.RangeFrom(from, true)) {
// process pair
}
</code>
<p>Calling RangeFrom does not copy of the data in the dictionary, and the operation takes constant time.</p>
</remarks>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -