Exemplo n.º 1
0
        /// <inheritdoc />
        public bool Equals([AllowNull] Frames other)
        {
            if (other == null)
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Group == other.Group ||
                     Group != null &&
                     Group.Equals(other.Group)
                     ) &&
                 (
                     Name == other.Name ||
                     Name != null &&
                     Name.Equals(other.Name)
                 ) &&
                 (
                     Traces == other.Traces ||
                     Traces != null &&
                     Traces.Equals(other.Traces)
                 ) &&
                 (
                     BaseFrame == other.BaseFrame ||
                     BaseFrame != null &&
                     BaseFrame.Equals(other.BaseFrame)
                 ) &&
                 (
                     Data == other.Data ||
                     Data != null &&
                     Data.Equals(other.Data)
                 ) &&
                 (
                     Layout == other.Layout ||
                     Layout != null &&
                     Layout.Equals(other.Layout)
                 ));
        }