Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 private bool Equals(Age other)
 {
     return Years == other.Years && Months == other.Months && Days == other.Days && Hours == other.Hours && Minutes == other.Minutes && Seconds == other.Seconds;
 }