Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
EvaluationResult.cs
2{
7 public class EvaluationResult<T>
8 {
12 public EvaluationResult(T Result)
13 {
14 this.Ok = true;
15 this.Result = Result;
16 }
17
21 private EvaluationResult(bool Ok, T Result)
22 {
23 this.Ok = Ok;
24 this.Result = Result;
25 }
26
30 public bool Ok;
31
35 public T Result;
36
40 public static readonly EvaluationResult<T> Empty = new EvaluationResult<T>(false, default);
41 }
42}
EvaluationResult(T Result)
Positive result of asynchronous evaluation.
static readonly EvaluationResult< T > Empty
No result