Class DeferredDataResult
Deferred data result class.
Inheritance
System.Object
    DeferredDataResult
  Implements
Namespace: MESL.SqlRace.Domain.Infrastructure.DataPipeline
Assembly: MESL.SqlRace.Domain.dll
Syntax
public sealed class DeferredDataResult : Object, IDeferredDataResult
  Constructors
DeferredDataResult()
Declaration
public DeferredDataResult()
  Properties
DataResults
The IDataResults associated with this deferred data result.
Declaration
public IEnumerable<KeyValuePair<string, List<IDataResult>>> DataResults { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, System.Collections.Generic.List<IDataResult>>> | 
TotalSamplesGenerated
Gets the total samples generated.
Declaration
public int TotalSamplesGenerated { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The total samples generated.  | 
      
Methods
AddDataResult(String, IDataResult)
Add a new IDataResult to the deferred data result.
Declaration
public void AddDataResult(string parameterId, IDataResult dataResult)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | parameterId | The parameter ID to  | 
      
| IDataResult | dataResult | The new data result to add.  | 
      
Exceptions
| Type | Condition | 
|---|---|
| System.InvalidOperationException | Thrown if data result is null.  | 
      
GetDataResultFor(String)
Gets the data result for.
Declaration
public IReadOnlyList<IDataResult> GetDataResultFor(string parameterId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | parameterId | The parameter identifier.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IReadOnlyList<IDataResult> | List of data results associated with the parameter.  |