示例#1
0
 public void SetTravel(ITrave travel)
 {
     if (travel == null)
     {
         throw new ArgumentNullException(nameof(travel));
     }
     _Travel = travel;
 }
示例#2
0
 public PersonContext(ITrave travel)
 {
     _Travel = travel;
 }