Click or drag to resize

ProcessQueue<T> Class

Represents a thread-safe (via locking) list of items, based on List<T>, that get processed on independent threads with a consumer provided function.
Inheritance Hierarchy
System.Object
  GSF.Collections.ProcessQueue<T>
    GSF.Collections.ProcessDictionary<TKey, TValue>

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.241-beta+912389e96d98840d2a999d490420db618dcbe4c6
Syntax
View Source

Type Parameters

T
Type of object to process

The ProcessQueue<T> type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyCancellationToken Gets the per processing thread cancellation token to check when a ProcessTimeout is specified.
Public propertyCanProcessItemFunction Gets or sets the user function determining if an item is ready to be processed.
Public propertyCountGets the number of elements actually contained in the ProcessQueue<T>.
Public propertyCurrentStatistics Gets the current run-time statistics of the ProcessQueue<T> as a single group of values.
Public propertyEnabled Gets or sets indicator that the ProcessQueue<T> is currently enabled.
Protected propertyInternalEnumerable Allows derived classes to access the interfaced internal ProcessQueue<T> directly.
Protected propertyInternalList Gets the internal list for direct use by ProcessQueue<T>.
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
Public propertyIsEmpty Gets a value that indicates whether the ProcessQueue<T> is empty.
Public propertyIsProcessing Gets indicator that the ProcessQueue<T> is actively processing items.
Public propertyIsReadOnlyGets a value indicating whether the ProcessQueue<T> is read-only.
Public propertyIsSynchronizedGets a value indicating whether access to the ProcessQueue<T> is synchronized (thread safe). Always returns true for ProcessQueue<T>.
Public propertyItem Gets or sets the element at the specified index.
Public propertyItemsBeingProcessed Gets the total number of items currently being processed.
Public propertyMaximumThreads Gets or sets the maximum number of threads to process simultaneously.
Public propertyName Gets or sets name for this ProcessQueue<T>.
Public propertyProcessingIsRealTime Gets indicator that items will be processed in real-time.
Public propertyProcessingStyle Gets the item QueueProcessingStyle for the ProcessQueue<T> (i.e., one at a time or many at once).
Public propertyProcessInterval Gets or sets the interval, in milliseconds, on which new items begin processing.
Public propertyProcessItemFunction Gets or sets the user function for processing individual items in the ProcessQueue<T> one at a time.
Public propertyProcessItemsFunction Gets or sets the user function for processing multiple items in the ProcessQueue<T> at once.
Public propertyProcessTimeout Gets or sets the maximum time, in milliseconds, allowed for processing an item.
Public propertyRequeueModeOnException Gets or sets the mode of insertion used (prefix or suffix) when at item is placed back into the ProcessQueue<T> after an exception occurs while processing.
Public propertyRequeueModeOnTimeout Gets or sets the mode of insertion used (prefix or suffix) when at item is placed back into the ProcessQueue<T> after processing times out.
Public propertyRequeueOnException Gets or sets whether or not to automatically place an item back into the ProcessQueue<T> if an exception occurs while processing.
Public propertyRequeueOnTimeout Gets or sets whether or not to automatically place an item back into the ProcessQueue<T> if the processing times out.
Public propertyRunTime Gets the total amount of time, in seconds, that the ProcessQueue<T> has been active.
Public propertyStatus Gets current status of ProcessQueue<T>.
Public propertySynchronizedOperationType Gets or sets the type of synchronized operation used to process items in a real-time ProcessQueue<T>.
Public propertySyncRoot Gets an object that can be used to synchronize access to the ProcessQueue<T>.
Public propertyThreadCount Gets the current number of active threads.
Public propertyThreadingMode Gets the current QueueThreadingMode for the ProcessQueue<T> (i.e., synchronous or asynchronous).
Public propertyTotalFunctionCalls Gets the total number of calls to ProcessItemFunction or ProcessItemsFunction.
Public propertyTotalProcessedItems Gets the total number of items processed so far.
Top
Methods
 NameDescription
Public methodAddAdds an item to the ProcessQueue<T>.
Public methodAddRange Adds the elements of the specified collection to the end of the ProcessQueue<T>.
Public methodBinarySearch(T) Searches the entire sorted ProcessQueue<T>, using a binary search algorithm, for an element using the default comparer and returns the zero-based index of the element.
Public methodBinarySearch(T, IComparer<T>) Searches the entire sorted ProcessQueue<T>, using a binary search algorithm, for an element using the specified comparer and returns the zero-based index of the element.
Public methodBinarySearch(Int32, Int32, T, IComparer<T>) Searches a range of elements in the sorted ProcessQueue<T>, using a binary search algorithm, for an element using the specified comparer and returns the zero-based index of the element.
Protected methodCanProcessItem Determines if an item can be processed.
Protected methodCanProcessItems Determines if all items can be processed.
Public methodClear Removes all elements from the ProcessQueue<T>.
Public methodContains Determines whether an element is in the ProcessQueue<T>.
Public methodConvertAll<TOutput>Converts the elements in the current ProcessQueue<T> to another type, and returns a ProcessQueue<T> containing the converted elements.
Public methodCopyToCopies the entire ProcessQueue<T> to a compatible one-dimensional array, starting at the beginning of the target array.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature) Creates a new asynchronous ProcessQueue<T> with the default settings: ProcessInterval = 100, MaximumThreads = 5, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature) Creates a new asynchronous, bulk item ProcessQueue<T> with the default settings: ProcessInterval = 100, MaximumThreads = 5, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature) Creates a new asynchronous ProcessQueue<T> with the default settings: ProcessInterval = 100, MaximumThreads = 5, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature, Int32) Creates a new asynchronous ProcessQueue<T> with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature) Creates a new asynchronous, bulk item ProcessQueue<T> with the default settings: ProcessInterval = 100, MaximumThreads = 5, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, Int32) Creates a new asynchronous, bulk item ProcessQueue<T> with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature, Int32) Creates a new asynchronous ProcessQueue<T> with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature, Int32) Creates a new asynchronous, bulk item ProcessQueue<T> with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Creates a new asynchronous ProcessQueue<T> using specified settings.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Creates a new asynchronous, bulk item ProcessQueue<T> using specified settings.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Creates a new asynchronous ProcessQueue<T> using specified settings.
Public methodStatic memberCreateAsynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Creates a new asynchronous, bulk item ProcessQueue<T> using specified settings.
Public methodStatic memberCreateRealTimeQueue(ProcessQueue<T>.ProcessItemFunctionSignature) Creates a new real-time ProcessQueue<T> with the default settings: ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateRealTimeQueue(ProcessQueue<T>.ProcessItemsFunctionSignature) Creates a new real-time, bulk item ProcessQueue<T> with the default settings: ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateRealTimeQueue(ProcessQueue<T>.ProcessItemFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature) Creates a new real-time ProcessQueue<T> with the default settings: ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateRealTimeQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature) Creates a new real-time, bulk item ProcessQueue<T> with the default settings: ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateRealTimeQueue(ProcessQueue<T>.ProcessItemFunctionSignature, Int32, Boolean, Boolean) Creates a new real-time ProcessQueue<T> using specified settings.
Public methodStatic memberCreateRealTimeQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, Int32, Boolean, Boolean) Creates a new real-time, bulk item ProcessQueue<T> using specified settings.
Public methodStatic memberCreateRealTimeQueue(ProcessQueue<T>.ProcessItemFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature, Int32, Boolean, Boolean) Creates a new real-time ProcessQueue<T> using specified settings.
Public methodStatic memberCreateRealTimeQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature, Int32, Boolean, Boolean) Creates a new real-time, bulk item ProcessQueue<T> using specified settings.
Public methodStatic memberCreateSynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature) Creates a new synchronous ProcessQueue<T> (i.e., single process thread) with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateSynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature) Creates a new synchronous, bulk item ProcessQueue<T> (i.e., single process thread) with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateSynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature) Creates a new synchronous ProcessQueue<T> (i.e., single process thread) with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateSynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature) Creates a new synchronous, bulk item ProcessQueue<T> (i.e., single process thread) with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.
Public methodStatic memberCreateSynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature, Double, Int32, Boolean, Boolean) Creates a new synchronous ProcessQueue<T> (i.e., single process thread) using specified settings.
Public methodStatic memberCreateSynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, Double, Int32, Boolean, Boolean) Creates a new synchronous, bulk item ProcessQueue<T> (i.e., single process thread) using specified settings.
Public methodStatic memberCreateSynchronousQueue(ProcessQueue<T>.ProcessItemFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature, Double, Int32, Boolean, Boolean) Creates a new synchronous ProcessQueue<T> (i.e., single process thread) using specified settings.
Public methodStatic memberCreateSynchronousQueue(ProcessQueue<T>.ProcessItemsFunctionSignature, ProcessQueue<T>.CanProcessItemFunctionSignature, Double, Int32, Boolean, Boolean) Creates a new synchronous, bulk item ProcessQueue<T> (i.e., single process thread) using specified settings.
Protected methodDataAdded Notifies queue that data was added and/or modified, so it can begin processing data.
Public methodDispose() Releases all the resources used by the ProcessQueue<T> object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the ProcessQueue<T> object and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExistsDetermines whether the ProcessQueue<T> contains elements that match the conditions defined by the specified predicate.
Protected methodFinalize Releases the unmanaged resources before the ProcessQueue<T> object is reclaimed by GC.
(Overrides Object.Finalize())
Public methodFindSearches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire ProcessQueue<T>.
Public methodFindAllRetrieves all elements that match the conditions defined by the specified predicate.
Public methodFindIndex(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.
Public methodFindIndex(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.
Public methodFindIndex(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.
Public methodFindLastSearches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire ProcessQueue<T>.
Public methodFindLastIndex(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>.
Public methodFindLastIndex(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.
Public methodFindLastIndex(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.
Public methodFlush 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>.
Public methodForEachPerforms the specified action on each element of the ProcessQueue<T>.
Public methodGetEnumerator Returns an enumerator that iterates through the ProcessQueue<T>.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetRangeCreates a shallow copy of a range of elements in the source ProcessQueue<T>.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIndexOf(T)Searches for the specified object and returns the zero-based index of the first occurrence within the entire ProcessQueue<T>.
Public methodIndexOf(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.
Public methodIndexOf(T, Int32, 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 starts at the specified index and contains the specified number of elements.
Public methodInsertInserts an element into the ProcessQueue<T> at the specified index.
Public methodInsertRangeInserts the elements of a collection into the ProcessQueue<T> at the specified index.
Public methodLastIndexOf(T)Searches for the specified object and returns the zero-based index of the last occurrence within the entire ProcessQueue<T>.
Public methodLastIndexOf(T, Int32)Searches for the specified object 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.
Public methodLastIndexOf(T, Int32, Int32)Searches for the specified object 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.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodOnItemProcessed Raises the base class ItemProcessed event.
Protected methodOnItemsProcessed Raises the base class ItemsProcessed event.
Protected methodOnItemsTimedOut Raises the base class ItemsTimedOut event.
Protected methodOnItemTimedOut Raises the base class ItemTimedOut event.
Protected methodOnProcessException Raises the base class ProcessException event.
Public methodRemoveRemoves the first occurrence of a specific object from the ProcessQueue<T>.
Public methodRemoveAllRemoves the all the elements that match the conditions defined by the specified predicate.
Public methodRemoveAtRemoves the element at the specified index of the ProcessQueue<T>.
Public methodRemoveRangeRemoves a range of elements from the ProcessQueue<T>.
Protected methodRequeueItem Requeues item into ProcessQueue<T> according to specified requeue reason.
Protected methodRequeueItems Requeues items into ProcessQueue<T> according to specified requeue reason.
Public methodReverse()Reverses the order of the elements in the entire ProcessQueue<T>.
Public methodReverse(Int32, Int32)Reverses the order of the elements in the specified range.
Public methodSignalDataModified Manually signals that data has been modified and processing should resume.
Public methodSort()Sorts the elements in the entire ProcessQueue<T>, using the default comparer.
Public methodSort(Comparison<T>)Sorts the elements in the entire ProcessQueue<T>, using the specified comparison.
Public methodSort(IComparer<T>)Sorts the elements in the entire ProcessQueue<T>, using the specified comparer.
Public methodSort(Int32, Int32, IComparer<T>)Sorts the elements in a range of elements in the ProcessQueue<T>, using the specified comparer.
Public methodStart Starts item processing.
Public methodStop Stops item processing.
Public methodToArray Copies the elements contained in the ProcessQueue<T> to a new array.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTrueForAllDetermines whether every element in the ProcessQueue<T> matches the conditions defined by the specified predicate.
Public methodTryTake(T) Attempts to remove and return an object from the ProcessQueue<T>.
Public methodTryTake(T[]) Attempts to remove and return all objects from the ProcessQueue<T>.
Top
Events
 NameDescription
Public eventDisposed Occurs when the class has been disposed.
Public eventItemProcessed Event that is raised after an item has been successfully processed.
Public eventItemsProcessed Event that is raised after an array of items have been successfully processed.
Public eventItemsTimedOut Event that is raised if the processing time for an array of items exceeds the specified process timeout.
Public eventItemTimedOut Event that is raised if an item's processing time exceeds the specified process timeout.
Public eventProcessException Event that is raised if an exception is encountered while attempting to processing an item in the ProcessQueue<T>.
Top
Fields
 NameDescription
Public fieldStatic memberDefaultMaximumThreads Default maximum number of processing threads.
Public fieldStatic memberDefaultProcessInterval Default processing interval (in milliseconds).
Public fieldStatic memberDefaultProcessTimeout Default processing timeout (in milliseconds).
Public fieldStatic memberDefaultRequeueModeOnException Default setting for requeuing mode on processing exceptions.
Public fieldStatic memberDefaultRequeueModeOnTimeout Default setting for requeuing mode on processing timeout.
Public fieldStatic memberDefaultRequeueOnException Default setting for requeuing items on processing exceptions.
Public fieldStatic memberDefaultRequeueOnTimeout Default setting for requeuing items on processing timeout.
Public fieldStatic memberRealTimeProcessInterval Default real-time processing interval (in milliseconds).
Top
Extension Methods
 NameDescription
Public Extension MethodAddRange<T> Adds the specified items to the collection.
(Defined by CollectionExtensions)
Public Extension MethodAllParallel<T> Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension MethodDistinctBy<T, TKey> Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefault<T> Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetRange<T> Returns elements in the specified range from the collection.
(Defined by CollectionExtensions)
Public Extension MethodIndexOf<T> Returns the index of the first element of the sequence that satisfies a condition or -1 if no such element is found.
(Defined by CollectionExtensions)
Public Extension MethodLoadDelimitedString<T>Appends items parsed from delimited string, created with ToDelimitedString, using the default delimiter ("|") into the given list.
(Defined by CollectionExtensions)
Public Extension MethodLoadDelimitedString<T>Appends items parsed from delimited string, created with ToDelimitedString, into the given list.
(Defined by CollectionExtensions)
Public Extension MethodLoadDelimitedString<T>Appends items parsed from delimited string, created with ToDelimitedString, into the given list.
(Defined by CollectionExtensions)
Public Extension MethodMajority<T> Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMajority<T> Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMajorityBy<T, TKey> Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMajorityBy<T, TKey> Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMax<T>Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMax<T>Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMaxBy<T, TKey>Selects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMedian<T> 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 MethodMiddle<T> 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 MethodMin<T>Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMin<T>Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMinBy<T, TKey>Selects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension MethodMinority<T> Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension MethodMinority<T> Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension MethodMinorityBy<T, TKey> Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodMinorityBy<T, TKey> Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension MethodScramble<T> Rearranges all the elements in the list into a highly-random order.
(Defined by CollectionExtensions)
Public Extension MethodScramble<T> Rearranges all the elements in the list into a repeatable pseudo-random order.
(Defined by CollectionExtensions)
Public Extension MethodStandardDeviation<T> Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension MethodStandardDeviation<T> Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension MethodStandardDeviation<T> Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
Public Extension MethodToDelimitedString<T>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 MethodToDelimitedString<T>Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension MethodToDelimitedString<T>Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension MethodToPagedList<T> Gets a PagedList<T> to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Public Extension MethodUnscramble<T> Rearranges all the elements in the list previously scrambled with Scramble<TSource> (IList<TSource> , Int32) back into their original order.
(Defined by CollectionExtensions)
Public Extension MethodUpdateRange<T> Updates collection starting at the index with the specified items.
(Defined by CollectionExtensions)
Top
Remarks

This class acts as a strongly-typed collection of objects to be processed.

Note that the ProcessQueue<T> will not start processing until the Start method is called.

See Also