private bool Equals([NotNull] Age other) { return(Years == other.Years && Months == other.Months && Days == other.Days && Hours == other.Hours && Minutes == other.Minutes && Seconds == other.Seconds); }
public Face(int x, int y, int width, int height, [CanBeNull] string name = null, [CanBeNull] Age age = null) { X = x; Y = y; Width = width; Height = height; Name = name; Age = age; }
private bool Equals(Age other) { return Years == other.Years && Months == other.Months && Days == other.Days && Hours == other.Hours && Minutes == other.Minutes && Seconds == other.Seconds; }