예제 #1
0
        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);
        }
예제 #2
0
 public EvaluationTick GetYesterdayValue()
 {
     return(Evaluations.Any() ? Evaluations.ElementAt(Math.Max(0, Evaluations.Count - 24)) : new EvaluationTick());
 }