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