コード例 #1
0
 public TransmitionTypeViewModel CopyFields(TransmitionType from, TransmitionTypeViewModel to)
 {
     if (to == null)
     {
         throw new NullReferenceException();
     }
     if (from == null)
     {
         throw new NullReferenceException();
     }
     to.Id   = from.Id;
     to.Name = from.Name;
     return(to);
 }
コード例 #2
0
 public Transmition(int GearCount, TransmitionType type)
 {
     this.GearCount       = GearCount;
     this.transmitionType = type;
 }