Click or drag to resize

ProcessDictionary<TKey, TValue> Methods

The ProcessDictionary<TKey, TValue> type exposes the following members.

Methods
  Name Description
Public method Add(T) Adds an item to the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method Add(TKey, TValue) Adds an element with the provided key and value to the ProcessDictionary<TKey, TValue>.
Public method AddOrUpdate(TKey, TValue) Adds a key/value pair to the ProcessDictionary<TKey, TValue> if the key does not already exist, or updates a key/value pair in the ProcessDictionary<TKey, TValue> if the key already exists.
Public method AddOrUpdate(TKey, Func<TKey, TValue> ) Adds a key/value pair to the ProcessDictionary<TKey, TValue> if the key does not already exist, or updates a key/value pair in the ProcessDictionary<TKey, TValue> if the key already exists.
Public method AddOrUpdate(TKey, TValue, Func<TKey, TValue, TValue> ) Adds a key/value pair to the ProcessDictionary<TKey, TValue> if the key does not already exist, or updates a key/value pair in the ProcessDictionary<TKey, TValue> if the key already exists.
Public method AddOrUpdate(TKey, Func<TKey, TValue> , Func<TKey, TValue, TValue> ) Adds a key/value pair to the ProcessDictionary<TKey, TValue> if the key does not already exist, or updates a key/value pair in the ProcessDictionary<TKey, TValue> if the key already exists.
Public method AddRange Adds the elements of the specified collection to the end of the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method BinarySearch(KeyValuePair<TKey, TValue> ) This function doesn't have the same meaning in the ProcessDictionary<TKey, TValue> as it does in ProcessQueue<T>, so it is marked as hidden from the editor. However it returns IndexOfKey(TKey) so that it returns a value that at least makes sense in case it gets called.
(Overrides ProcessQueue<T>.BinarySearch(T))
Public method BinarySearch(KeyValuePair<TKey, TValue> , IComparer<KeyValuePair<TKey, TValue> > ) This function doesn't have the same meaning in the ProcessDictionary<TKey, TValue> as it does in ProcessQueue<T>, so it is marked as hidden from the editor. However it returns IndexOfKey(TKey) so that it returns a value that at least makes sense in case it gets called.
(Overrides ProcessQueue<T>.BinarySearch(T, IComparer<T>))
Public method BinarySearch(Int32, Int32, KeyValuePair<TKey, TValue> , IComparer<KeyValuePair<TKey, TValue> > ) This function doesn't have the same meaning in the ProcessDictionary<TKey, TValue> as it does in ProcessQueue<T>, so it is marked as hidden from the editor. However it returns IndexOfKey(TKey) so that it returns a value that at least makes sense in case it gets called.
(Overrides ProcessQueue<T>.BinarySearch(Int32, Int32, T, IComparer<T>))
Protected method CanProcessItem Determines if an item can be processed.
(Inherited from ProcessQueue<T>)
Protected method CanProcessItems Determines if all items can be processed.
(Inherited from ProcessQueue<T>)
Public method Clear Removes all elements from the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method Contains Determines whether an element is in the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method ContainsKey Determines whether the ProcessDictionary<TKey, TValue> contains an element with the specified key.
Public method ContainsValue Determines whether the ProcessDictionary<TKey, TValue> contains an element with the specified value.
Public method ConvertAll<TOutput> Converts the elements in the current ProcessQueue<T> to another type, and returns a ProcessQueue<T> containing the converted elements.
(Inherited from ProcessQueue<T>)
Public method CopyTo Copies the entire ProcessQueue<T> to a compatible one-dimensional array, starting at the beginning of the target array.
(Inherited from ProcessQueue<T>)
Protected method DataAdded Notifies queue that data was added and/or modified, so it can begin processing data.
(Inherited from ProcessQueue<T>)
Public method Dispose() Releases all the resources used by the ProcessQueue<T> object.
(Inherited from ProcessQueue<T>)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the ProcessDictionary<TKey, TValue> object and optionally releases the managed resources.
(Overrides ProcessQueue<T>.Dispose(Boolean))
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public method Exists Determines whether the ProcessQueue<T> contains elements that match the conditions defined by the specified predicate.
(Inherited from ProcessQueue<T>)
Protected method Finalize Releases the unmanaged resources before the ProcessQueue<T> object is reclaimed by GC.
(Inherited from ProcessQueue<T>)
Public method Find Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method FindAll Retrieves all elements that match the conditions defined by the specified predicate.
(Inherited from ProcessQueue<T>)
Public method FindIndex(Predicate<T> ) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ProcessQueue<T> that extends from the specified index to the last element.
(Inherited from ProcessQueue<T>)
Public method FindIndex(Int32, Predicate<T> ) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ProcessQueue<T> that extends from the specified index to the last element.
(Inherited from ProcessQueue<T>)
Public method FindIndex(Int32, Int32, Predicate<T> ) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the ProcessQueue<T> that extends from the specified index to the last element.
(Inherited from ProcessQueue<T>)
Public method FindLast Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method FindLastIndex(Predicate<T> ) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method FindLastIndex(Int32, Predicate<T> ) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ProcessQueue<T> that extends from the first element to the specified index.
(Inherited from ProcessQueue<T>)
Public method FindLastIndex(Int32, Int32, Predicate<T> ) Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the ProcessQueue<T> that contains the specified number of elements and ends at the specified index.
(Inherited from ProcessQueue<T>)
Public method Flush Blocks the current thread, if the ProcessQueue<T> is active (i.e., user has called "Start" method), until all items in ProcessQueue<T> are processed, and then stops the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method ForEach Performs the specified action on each element of the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method GetEnumerator Returns an enumerator that iterates through the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetOrAdd(TKey, TValue) Adds a key/value pair to the ProcessDictionary<TKey, TValue> if the key does not already exist.
Public method GetOrAdd(TKey, Func<TKey, TValue> ) Adds a key/value pair to the ProcessDictionary<TKey, TValue> if the key does not already exist.
Public method GetRange Creates a shallow copy of a range of elements in the source ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method IndexOf(KeyValuePair<TKey, TValue> ) This function doesn't have the same meaning in the ProcessDictionary<TKey, TValue> as it does in ProcessQueue<T>, so it is marked as hidden from the editor. However it returns IndexOfKey(TKey) so that it returns a value that at least makes sense in case it gets called.
(Overrides ProcessQueue<T>.IndexOf(T))
Public method IndexOf(T, Int32) Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the ProcessQueue<T> that extends from the specified index to the last element.
(Inherited from ProcessQueue<T>)
Public method IndexOf(KeyValuePair<TKey, TValue> , Int32, Int32) This function doesn't have the same meaning in the ProcessDictionary<TKey, TValue> as it does in ProcessQueue<T>, so it is marked as hidden from the editor. However it returns IndexOfKey(TKey) so that it returns a value that at least makes sense in case it gets called.
(Overrides ProcessQueue<T>.IndexOf(T, Int32, Int32))
Public method IndexOfKey Searches for the specified key and returns the zero-based index within the entire ProcessDictionary<TKey, TValue>.
Public method IndexOfValue Searches for the specified value and returns the zero-based index of the first occurrence within the entire ProcessDictionary<TKey, TValue>.
Public method Insert Inserts an element into the ProcessQueue<T> at the specified index.
(Inherited from ProcessQueue<T>)
Public method InsertRange Inserts the elements of a collection into the ProcessQueue<T> at the specified index.
(Inherited from ProcessQueue<T>)
Public method LastIndexOf(KeyValuePair<TKey, TValue> ) This function doesn't have the same meaning in the ProcessDictionary<TKey, TValue> as it does in ProcessQueue<T>, so it is marked as hidden from the editor. However it returns IndexOfKey(TKey) so that it returns a value that at least makes sense in case it gets called.
(Overrides ProcessQueue<T>.LastIndexOf(T))
Public method LastIndexOf(KeyValuePair<TKey, TValue> , Int32) This function doesn't have the same meaning in the ProcessDictionary<TKey, TValue> as it does in ProcessQueue<T>, so it is marked as hidden from the editor. However it returns IndexOfKey(TKey) so that it returns a value that at least makes sense in case it gets called.
(Overrides ProcessQueue<T>.LastIndexOf(T, Int32))
Public method LastIndexOf(KeyValuePair<TKey, TValue> , Int32, Int32) This function doesn't have the same meaning in the ProcessDictionary<TKey, TValue> as it does in ProcessQueue<T>, so it is marked as hidden from the editor. However it returns IndexOfKey(TKey) so that it returns a value that at least makes sense in case it gets called.
(Overrides ProcessQueue<T>.LastIndexOf(T, Int32, Int32))
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method OnItemProcessed Raises the base class ItemProcessed event.
(Inherited from ProcessQueue<T>)
Protected method OnItemsProcessed Raises the base class ItemsProcessed event.
(Inherited from ProcessQueue<T>)
Protected method OnItemsTimedOut Raises the base class ItemsTimedOut event.
(Inherited from ProcessQueue<T>)
Protected method OnItemTimedOut Raises the base class ItemTimedOut event.
(Inherited from ProcessQueue<T>)
Protected method OnProcessException Raises the base class ProcessException event.
(Inherited from ProcessQueue<T>)
Public method Remove(TKey) Removes the element with the specified key from the ProcessDictionary<TKey, TValue>.
Public method Remove(T) Removes the first occurrence of a specific object from the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method RemoveAll Removes the all the elements that match the conditions defined by the specified predicate.
(Inherited from ProcessQueue<T>)
Public method RemoveAt Removes the element at the specified index of the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method RemoveRange Removes a range of elements from the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Protected method RequeueItem Requeues item into ProcessQueue<T> according to specified requeue reason.
(Inherited from ProcessQueue<T>)
Protected method RequeueItems Requeues items into ProcessQueue<T> according to specified requeue reason.
(Inherited from ProcessQueue<T>)
Public method Reverse() Reverses the order of the elements in the entire ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Public method Reverse(Int32, Int32) Reverses the order of the elements in the specified range.
(Inherited from ProcessQueue<T>)
Public method SignalDataModified Manually signals that data has been modified and processing should resume.
(Inherited from ProcessQueue<T>)
Public method Sort() ProcessDictionary<TKey, TValue> is based on a DictionaryList<TKey, TValue> which is already sorted, so calling this function has no effect. As a result this function is marked as hidden from the editor.
(Overrides ProcessQueue<T>.Sort())
Public method Sort(Comparison<KeyValuePair<TKey, TValue> > ) ProcessDictionary<TKey, TValue> is based on a DictionaryList<TKey, TValue> which is already sorted, so calling this function has no effect. As a result this function is marked as hidden from the editor.
(Overrides ProcessQueue<T>.Sort(Comparison<T>))
Public method Sort(IComparer<KeyValuePair<TKey, TValue> > ) ProcessDictionary<TKey, TValue> is based on a DictionaryList<TKey, TValue> which is already sorted, so calling this function has no effect. As a result this function is marked as hidden from the editor.
(Overrides ProcessQueue<T>.Sort(IComparer<T>))
Public method Sort(Int32, Int32, IComparer<KeyValuePair<TKey, TValue> > ) ProcessDictionary<TKey, TValue> is based on a DictionaryList<TKey, TValue> which is already sorted, so calling this function has no effect. As a result this function is marked as hidden from the editor.
(Overrides ProcessQueue<T>.Sort(Int32, Int32, IComparer<T>))
Public method Start Starts item processing.
(Inherited from ProcessQueue<T>)
Public method Stop Stops item processing.
(Inherited from ProcessQueue<T>)
Public method ToArray Copies the elements contained in the ProcessQueue<T> to a new array.
(Inherited from ProcessQueue<T>)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method TrueForAll Determines whether every element in the ProcessQueue<T> matches the conditions defined by the specified predicate.
(Inherited from ProcessQueue<T>)
Public method TryGetValue Gets the value associated with the specified key.
Public method TryTake(T) Attempts to remove and return an object from the ProcessQueue<T>.
(Inherited from ProcessQueue<T>)
Top
Extension Methods
  Name Description
Public Extension Method AllParallel<KeyValuePair<TKey, TValue> > Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension Method DistinctBy<KeyValuePair<TKey, TValue> , TKey> Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefault<T> Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method Majority<KeyValuePair<TKey, TValue> > Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method Majority<KeyValuePair<TKey, TValue> > Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityBy<KeyValuePair<TKey, TValue> , TKey> Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityBy<KeyValuePair<TKey, TValue> , TKey> Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method Max<KeyValuePair<TKey, TValue> > Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Max<KeyValuePair<TKey, TValue> > Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxBy<KeyValuePair<TKey, TValue> , TKey> Selects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Median<KeyValuePair<TKey, TValue> > Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method Middle<KeyValuePair<TKey, TValue> > Gets the middle item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method Min<KeyValuePair<TKey, TValue> > Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Min<KeyValuePair<TKey, TValue> > Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinBy<KeyValuePair<TKey, TValue> , TKey> Selects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Minority<KeyValuePair<TKey, TValue> > Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method Minority<KeyValuePair<TKey, TValue> > Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityBy<KeyValuePair<TKey, TValue> , TKey> Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MinorityBy<KeyValuePair<TKey, TValue> , TKey> Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method StandardDeviation<KeyValuePair<TKey, TValue> > Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviation<KeyValuePair<TKey, TValue> > Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviation<KeyValuePair<TKey, TValue> > Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method ToDelimitedString<KeyValuePair<TKey, TValue> > Converts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedString<KeyValuePair<TKey, TValue> > Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedString<KeyValuePair<TKey, TValue> > Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToPagedList<KeyValuePair<TKey, TValue> > Gets a PagedList<T> to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Top
See Also