Esempio n. 1
0
 public override void Validate()
 {
     base.Validate();
     Prompt.Validate(this.Prompts);
 }
Esempio n. 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 } };
 }
Esempio n. 3
0
 public override void Validate()
 {
     base.Validate();
     Utils.AssertArgument(this.Action == ValidActions.PlayPromptAction, "Action was not PlayPrompt");
     Prompt.Validate(this.Prompts);
 }