Пример #1
0
        public bool Identical(RosterVector other)
        {
            if (other == null)
            {
                return(false);
            }

            if (this.Length == 0 && other.Length == 0 || ReferenceEquals(this, other))
            {
                return(true);
            }

            if (this.Length != other.Length)
            {
                return(false);
            }

            return(this.coordinates.SequenceEqual(other.coordinates));
        }
Пример #2
0
 public Identity(Guid id, RosterVector rosterVector)
 {
     this.Id           = id;
     this.RosterVector = rosterVector;
 }