public void can_build_say_string() { var options = new SayOptions { ModuleName = "en", Gender = SayGender.Feminine, Method = SayMethod.Iterated, Type = SayType.Number, Text = "1234" }; var toString = options.ToString(); Assert.Equal("en NUMBER iterated FEMININE 1234", toString); }
public static Task<EventMessage> Say(this EventSocket eventSocket, string uuid, SayOptions options) { return eventSocket.ExecuteApplication(uuid, "say", options.ToString()); }
public Task Say(SayOptions options) { return RunIfAnswered(() => eventSocket.Say(UUID, options)); }