示例#1
0
 public override void Validate()
 {
     base.Validate();
     Prompt.Validate(this.Prompts);
 }
示例#2
0
 private static PlayPrompt GetPromptForText(string text)
 {
     var prompt = new Prompt { Value = text, Voice = VoiceGender.Male };
     return new PlayPrompt { OperationId = Guid.NewGuid().ToString(), Prompts = new List<Prompt> { prompt } };
 }
示例#3
0
 public override void Validate()
 {
     base.Validate();
     Utils.AssertArgument(this.Action == ValidActions.PlayPromptAction, "Action was not PlayPrompt");
     Prompt.Validate(this.Prompts);
 }