예제 #1
0
 /// <summary>
 /// Create a dataset.
 /// </summary>
 /// <param name="script">The source from which you want to generate a dataset.</param>
 /// <param name="name">The optional name you want to give to the new dataset. </param>
 public Task <Execution> CreateExecution(Script script, string name = null, Execution.Arguments arguments = null)
 {
     arguments = arguments ?? new Execution.Arguments();
     if (!string.IsNullOrWhiteSpace(name))
     {
         arguments.Name = name;
     }
     arguments.Script = script.Resource;
     return(Create <Execution>(arguments));
 }
예제 #2
0
 /// <summary>
 ///  Create a whizzml execution using the supplied arguments.
 /// </summary>
 public Task <Execution> CreateExecution(Execution.Arguments arguments)
 {
     return(Create <Execution>(arguments));
 }