Пример #1
0
 public Plane(Interfaces.IProducer producer, string name, int range, EngineType engineType)
 {
     Producer   = producer;
     Name       = name;
     Range      = range;
     EngineType = engineType;
 }
Пример #2
0
 public bool Equals(Interfaces.IProducer other)
 {
     if (Name == other.Name && Country == other.Country && Employment == other.Employment)
     {
         return(true);
     }
     return(false);
 }
Пример #3
0
 public bool Equals(Interfaces.IProducer other)
 {
     if (Name == other.Name)
     {
         return(true);
     }
     return(false);
 }