Пример #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);
     }
 }
Пример #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);
        }
Пример #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);
        }