Пример #1
0
 private XDocument LoadDocument(string document)
 {
     using (IScalar resultData = FrontendSession.Pipe.RequestDocument(document))
     {
         try
         {
             return(XDocument.Load(new StringReader(resultData.AsString)));
         }
         catch (Exception exception)
         {
             throw new DataphoriaException(DataphoriaException.Codes.InvalidXMLDocument, exception,
                                           resultData.ToString());
         }
     }
 }
 public override void set(int index, IScalar value)
 {
     values[index] = double.Parse(value.ToString());
 }
Пример #3
0
 public override void set(int index, IScalar value)
 {
     values[index] = value.ToString();
 }