Syntax

C#
public class ResultCollector<TResult>
Visual Basic (Declaration)
Public Class ResultCollector(Of TResult)
Visual C++
generic<typename TResult>
public ref class ResultCollector

Type Parameters

TResult

The type exposes the following methods.

Public Methods

  NameDescription
Public methodAddResult
add result from a single function execution
Public methodClearResults
Public methodEndResults
Call back provided to caller, which is called after function execution is complete and caller can retrieve results using getResult()
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetResultOverloaded.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

See Also