Esempio n. 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);
     }
 }
Esempio n. 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);
        }
Esempio n. 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);
        }