Beispiel #1
0
 internal async void RunAsyncInternal(string scripts, Authentication authentication, IDictionary <string, object> properties)
 {
     try
     {
         var context = new ScriptMethodContext(this, this.cremaHost, authentication);
         await this.RunAsync(scripts, string.Empty, properties, context);
     }
     catch (Exception e)
     {
         this.Out.WriteLine(e.Message);
     }
 }
Beispiel #2
0
        internal void RunInternal(string scripts, Authentication authentication, IDictionary <string, object> properties)
        {
            var context = new ScriptMethodContext(this, this.cremaHost, authentication);

            this.Run(scripts, string.Empty, properties, context);
        }
Beispiel #3
0
        public async void RunAsyncInternal(string scripts, Authentication authentication)
        {
            var context = new ScriptMethodContext(this, this.cremaHost, authentication);

            await this.RunAsync(scripts, string.Empty, new Dictionary <string, object>(), context);
        }