Exemple #1
0
 /// <summary>
 /// Indicates whether the current object is equal to another object of the same type.
 /// </summary>
 /// <returns>
 /// true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false.
 /// </returns>
 /// <param name="other">
 /// An object to compare with this object.
 /// </param>
 public bool Equals(FormSubmission other)
 {
     // Here, order of values isn't important and will likely not remain the same.
     return(Evaluate.Equals(this, other, ComparisonProperties) &&
            Evaluate.CollectionEquals(this.FormSubmissionValues, other?.FormSubmissionValues));
 }