예제 #1
0
 private bool Equals(TTSMessage other)
 {
     return(ITTSVoice.Equals(Voice, other.Voice) && string.Equals(Text, other.Text) &&
            TTSDestination.Equals(Destination, other.Destination) &&
            TTSMessageState.Equals(State, other.State) && uint.Equals(NumConsumers, other.NumConsumers) &&
            double.Equals(Duration, other.Duration) && uint.Equals(Key, other.Key) &&
            ITextToSpeech.Equals(TTS, other.TTS));
 }
예제 #2
0
 public ITTSMessageQueueEventArgs(TTSMessage message)
 {
     Message = message;
 }