public object ComplexEvaluatedResultIndexed(int i) { var a = new JObject(); if (Evaluations.Any(x => x.EvalResult.IsWarewolfAtomListresult)) { return(CreateArrayOfResults()); } if (Evaluations.Any(x => x.EvalResult.IsWarewolfRecordSetResult)) { return(CreateArrayOfObjectsFromRecordSet(i)); } CreateScalarObject(a); return(a); }
public EvaluationTick GetYesterdayValue() { return(Evaluations.Any() ? Evaluations.ElementAt(Math.Max(0, Evaluations.Count - 24)) : new EvaluationTick()); }