예제 #1
0
 public DriverContainer(Driver driver)
 {
     _driver = driver;
     _userCameras = new UserCameraCollection(this);
     _userCameras.CollectionChanged += UserCamerasOnCollectionChanged;
 }
예제 #2
0
 public static LiveAdminDriver FromDriver(Driver driver)
 {
     return new LiveAdminDriver()
     {
         Id = driver.CustId,
         Name = driver.Name,
         ShortName = driver.ShortName,
         Number = driver.CarNumber
     };
 }