示例#1
0
 public ReactiveScript ReadScript(string path, bool dispatchErrors)
 {
     try {
         var script = new ReactiveScript(path, _keyPath, _outputDispatcher, _dispatch, dispatchErrors);
         if (script.IsFaulted)
         {
             return(null);
         }
         return(script);
     } catch (Exception ex) {
         Logger.Write(ex);
     }
     return(null);
 }
 public ReactiveScript ReadScript(string path, bool dispatchErrors)
 {
     try {
         var script = new ReactiveScript(path, _keyPath, _outputDispatcher, _dispatch, dispatchErrors);
         if (script.IsFaulted)
             return null;
         return script;
     } catch (Exception ex) {
         Logger.Write(ex);
     }
     return null;
 }