Example #1
0
        /// <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);
        }
Example #2
0
 private bool Equals(SliceIdentifier other)
 {
     return(Identifier == other.Identifier && Ignored == other.Ignored);
 }