public static SpeechProcessStateFlags ToProcessState(this SpeechProgressState value)
 {
     return((SpeechProcessStateFlags)((int)value));
 }
 public static bool IsSpeaking(this SpeechProgressState value)
 {
     return(value.ToProcessState().HasFlag(SpeechProcessStateFlags.Speaking));
 }
 public static bool IsFaulted(this SpeechProgressState value)
 {
     return(value.ToProcessState().HasFlag(SpeechProcessStateFlags.Fault));
 }
 public static bool IsInProgress(this SpeechProgressState value)
 {
     return(value.ToProcessState().HasFlag(SpeechProcessStateFlags.InProgress));
 }
 public static bool IsCanceled(this SpeechProgressState value)
 {
     return(value.ToProcessState().HasFlag(SpeechProcessStateFlags.Cancel));
 }