Class EvaluationResult
Stores the results of an evaluation, such as is returned by a call to Evaluate(EvaluationArgs, string, WMPrincipal, WMAppDbContext, SimulationParams?).
Inherited Members
Namespace: Quantellia.WMServer.Execution
Assembly: WMServer.dll
Syntax
public class EvaluationResult
Constructors
EvaluationResult()
Default constructor for an empty results.
Declaration
public EvaluationResult()
EvaluationResult(string, ElementValue, Dictionary<string, object>, int)
Constructor for initializing a new instance.
Declaration
public EvaluationResult(string processorID, ElementValue result, Dictionary<string, object> arguments, int index = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | processorID | |
| ElementValue | result | |
| Dictionary<string, object> | arguments | |
| int | index |
EvaluationResult(string, string, Dictionary<string, object>, int)
Constructor for initializing a new instance when results are provided as a JSON string.
Declaration
public EvaluationResult(string processorID, string resultJSON, Dictionary<string, object> arguments, int index = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | processorID | |
| string | resultJSON | |
| Dictionary<string, object> | arguments | |
| int | index |
Properties
Arguments
The arguments passed to the evaluation processor.
Declaration
public Dictionary<string, object> Arguments { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, object> |
Index
Index of the result in the result set.
Declaration
public int Index { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ProcessorID
The ID of the processor used to evaluate this results.
Declaration
public string ProcessorID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Result
The results of the evaluation as a JSON string
Declaration
public ElementValue Result { get; set; }
Property Value
| Type | Description |
|---|---|
| ElementValue |