public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = SourceState?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ (Event?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (TargetState?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     return(Input.GetHashCode() ^ Output.GetHashCode() ^ SourceState.GetHashCode() ^ TargetState.GetHashCode());
 }
示例#3
0
 public override int GetHashCode()
 {
     return(Action.GetHashCode() + TargetState.GetHashCode());
 }