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, EvaluationArgs, int)
Constructor for initializing a new instance.
Declaration
public EvaluationResult(string processorID, ElementValue result, EvaluationArgs arguments, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
string | processorID | |
ElementValue | result | |
EvaluationArgs | arguments | |
int | index |
EvaluationResult(string, string, EvaluationArgs, int)
Constructor for initializing a new instance when results are provided as a JSON string.
Declaration
public EvaluationResult(string processorID, string resultJSON, EvaluationArgs arguments, int index = 0)
Parameters
Type | Name | Description |
---|---|---|
string | processorID | |
string | resultJSON | |
EvaluationArgs | arguments | |
int | index |
Properties
Arguments
The arguments passed to the evaluation processor.
Declaration
public EvaluationArgs Arguments { get; set; }
Property Value
Type | Description |
---|---|
EvaluationArgs |
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 |