private IEnumerable <double> MakeSequence(string key)
 {
     if (SequenceFactory.List().Contains(key))
     {
         return(SequenceFactory.Load(key));
     }
     else
     {
         var doc = _repository.Read(key);
         if (doc != null)
         {
             _stackMachine.Eval((string[])doc.Value);
         }
     }
     throw new ArgumentException("key");
 }
示例#2
0
 public virtual void Eval(string text)
 {
     _target.Eval(text);
 }