SameIdAndChangeKey method

bool SameIdAndChangeKey(
  1. ServiceId other
)
Determines whether two ServiceId instances are equal (including ChangeKeys) The ServiceId to compare with the current ServiceId.

Implementation

bool SameIdAndChangeKey(ServiceId other) {
  if (this == other) {
    return ((this.ChangeKey == null) && (other.ChangeKey == null)) ||
        this.ChangeKey == other.ChangeKey;
  } else {
    return false;
  }
}