示例#1
0
 /// <summary>
 /// Create a Fusion.
 /// </summary>
 /// <param name="models">A list of Models</param>
 /// <param name="name">The name you want to give to the new fusion.</param>
 /// <param name="arguments">Other extra parameters.</param>
 public Task <Fusion> CreateFusion(List <dynamic> models, string name = null,
                                   Fusion.Arguments arguments         = null)
 {
     arguments = arguments ?? new Fusion.Arguments();
     if (!string.IsNullOrWhiteSpace(name))
     {
         arguments.Name = name;
     }
     arguments.Models = models;
     return(Create <Fusion>(arguments));
 }
示例#2
0
 /// <summary>
 /// Create a fusion using supplied arguments.
 /// </summary>
 public Task <Fusion> CreateFusion(Fusion.Arguments arguments)
 {
     return(Create <Fusion>(arguments));
 }