コード例 #1
0
 public RequestValidator(IDeviceManagement deviceManagement, IUserManagement userManagement, IVehicleManagement vehicleManagement, IJwtTokenHandler tokenHandler)
 {
     _deviceManagement  = deviceManagement;
     _userManagement    = userManagement;
     _vehicleManagement = vehicleManagement;
     _tokenHandler      = tokenHandler;
 }
コード例 #2
0
        public CameraDeviceManagementBuilder SetDeviceManagement(ICameraInformation camera)
        {
            if (camera == null)
            {
                throw new ArgumentNullException(nameof(camera));
            }

            DeviceManagement = DeviceManagementBuilder.GetBuilder().SetCamera(camera).Build();
            return(this);
        }
コード例 #3
0
 internal static ICameraDeviceManagement CreateInstance(IDeviceManagement deviceManagement)
 {
     return(new CameraDeviceManagement(deviceManagement));
 }
コード例 #4
0
 private CameraDeviceManagement(IDeviceManagement deviceManagement)
 {
     DeviceManagement = deviceManagement;
 }