示例#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);
 }