コード例 #1
0
 public static BatchSynthesisDefinition Create(
     string name,
     string description,
     string locale,
     Uri inputTextUrl,
     ModelIdentity model)
 {
     return(new BatchSynthesisDefinition(name, description, locale, inputTextUrl, model));
 }
コード例 #2
0
 public static VoiceSynthesisDefinition Create(
     string name,
     string description,
     string locale,
     ModelIdentity model,
     IReadOnlyDictionary <string, string> properties)
 {
     return(new VoiceSynthesisDefinition(name, description, locale, model, properties));
 }
コード例 #3
0
 public ModelDefinition(
     string name,
     string description,
     string locale,
     string modelKind,
     ModelIdentity baseModel,
     List <DatasetIdentity> datasets,
     IReadOnlyDictionary <string, string> properties)
 {
     this.Name        = name;
     this.Description = description;
     this.Locale      = locale;
     this.ModelKind   = modelKind;
     this.BaseModel   = baseModel;
     this.Datasets    = datasets;
     this.Properties  = properties;
 }
コード例 #4
0
 private BatchSynthesisDefinition(string name, string description, string locale, Uri inputTextUrl, ModelIdentity model)
 {
     this.Name         = name;
     this.Description  = description;
     this.InputTextUrl = inputTextUrl;
     this.Locale       = locale;
     this.Model        = model;
 }
コード例 #5
0
 private VoiceSynthesisDefinition(string name, string description, string locale, ModelIdentity model, IReadOnlyDictionary <string, string> properties)
 {
     this.Name        = name;
     this.Description = description;
     this.Locale      = locale;
     this.Model       = model;
     this.Properties  = properties;
 }