Пример #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hc = (_text?.GetHashCode() ?? 0);
         hc *= 397;
         hc ^= (_destination.GetHashCode());
         hc *= 397;
         hc ^= (_voice.GetHashCode());
         hc *= 397;
         hc ^= (_state.GetHashCode());
         hc *= 397;
         hc ^= (_numConsumers.GetHashCode());
         hc *= 397;
         hc ^= (_duration.GetHashCode());
         hc *= 397;
         hc ^= (_key.GetHashCode());
         hc *= 397;
         hc ^= (_ttsSubSystem.GetHashCode());
         return(hc);
     }
 }