public CalculateDriverController(IDriveRepository driveRepository, IUserAccountRepository userAccountRepository) { _driveRepository = driveRepository; _userAccountRepository = userAccountRepository; _random = new Random(); }
public SmallSyncTask(IApplicationBuilder app) { _embyClient = app.ApplicationServices.GetService <IEmbyClient>(); _embyPluginRepository = app.ApplicationServices.GetService <IPluginRepository>(); _embyServerInfoRepository = app.ApplicationServices.GetService <IServerInfoRepository>(); _configurationRepository = app.ApplicationServices.GetService <IConfigurationRepository>(); _embyDriveRepository = app.ApplicationServices.GetService <IDriveRepository>(); }
public EmbyService(IEmbyClient embyClient, IPluginRepository embyPluginRepository, IConfigurationRepository configurationRepository, IServerInfoRepository embyServerInfoRepository, IDriveRepository embyDriveRepository) { _embyClient = embyClient; _embyPluginRepository = embyPluginRepository; _configurationRepository = configurationRepository; _embyServerInfoRepository = embyServerInfoRepository; _embyDriveRepository = embyDriveRepository; }
public DriveController(IDriveRepository driveRepository, IUserAccountRepository userAccountRepository, IUserGroupRepository userGroupRepository, IRouteFinder routeFinder, IRouteParser routeParser) { _driveRepository = driveRepository; _userAccountRepository = userAccountRepository; _userGroupRepository = userGroupRepository; _routeFinder = routeFinder; _routeParser = routeParser; }
public DriveDetailViewModel(IDriveRepository repository, IEventAggregator eventAggregator , IMessageDialogService messageService, IAppLogger appLogger) : base(eventAggregator, messageService, appLogger) { _repository = repository; NavigationItems = new ObservableCollection <NavigationTreeItemViewModel>(); // ArchiveEntities = new ObservableCollection<ArchiveEntityWrapper>(); _eventAggregator = eventAggregator; _allFilesOnDrive = new List <ArchiveEntity>(); _eventAggregator.GetEvent <AfterCollectionSavedEvent>().Subscribe(AfterCollectionSaved); AddArchiveEntityCommand = new DelegateCommand(OnAddArchiveEntityExecute); RemoveArchiveEntityCommand = new DelegateCommand(OnRemoveArchiveEntityExecute, OnRemoveArchiveEntityCanExecute); CloseSearchDetailViewModelCommand = new DelegateCommand(OnCloseSearchDetailViewExecute); SelectedItemChangedCommand = new DelegateCommand <int?>(OnSelectedItemChangedExecute, OnSelectedItemChangedCanExecute); DeleteAllImagesCommand = new DelegateCommand(OnDeleteAllImagesExecute, OnDeleteAllImagesCanExecute); }
public NavigationMenuViewComponent(IDriveRepository repo) { repository = repo; }
public GlobalScope(IDriveRepository driveRepository) { Drives = driveRepository; }
public DriveController(IDriveRepository driveRepo) { this.driveRepo = driveRepo; }
public DriveController() { driveRepository = new DriveRepository(); }
/// <summary> /// Constructor whose purpose is to set private readonly /// variable value. It's value is the same as the value /// of passed parameter. /// </summary> /// <param name="driveRepository"> /// Existing IDriveRepository object. /// </param> public DriveLogic(IDriveRepository driveRepository) { _driveRepository = driveRepository; }
public DriveController(IDriveRepository repository) { this._driverRepository = repository; }
public DriveController(IDriveRepository repo) { repository = repo; }
public CartController(IDriveRepository repo, Cart cartService) { repository = repo; cart = cartService; }
static DriveServices() { repository = new DriveRepository(); }
public AdminController(IDriveRepository repo) { repository = repo; }