/// <summary> /// Is true when the two SliceIdentifiers belong to the same slice /// </summary> /// <param name="other"></param> /// <returns></returns> public bool CompareTo(SliceIdentifier other) { if (other == null) { return(false); } return(Ignored && other.Ignored || !Ignored && !other.Ignored && Identifier == other.Identifier); }
private bool Equals(SliceIdentifier other) { return(Identifier == other.Identifier && Ignored == other.Ignored); }