Exemplo n.º 1
0
 public override bool Validate()
 {
     return
         (_Entries.Count > 0 &&
          Entries.All(e => e.IsValid) &&
          _TaxType != null &&
          _PlaceType != null &&
          _Account != null);
 }
Exemplo n.º 2
0
 public bool Equals(AirbusPerfTable a, double delta)
 {
     return(Entries != null && a.Entries != null &&
            Entries.Count == a.Entries.Count &&
            Entries.All(x => a.Entries.Any(y => x.Equals(y, delta))));
 }