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); } }
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); }
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); }