public PathSegmentCountReaction( IDisplayNameHighlightEvaluator displayNameHighlightEvaluator, IFilePathService filePathService) { _displayNameHighlightEvaluator = displayNameHighlightEvaluator; _filePathService = filePathService; }
public SingleInstrumentDownloadService(IExchange exchange, IBatchNumberService batchService, IFilePathService filePathService, IEventSavingService seriesAppendingService) { this.exchange = exchange; this.batchService = batchService; this.filePathService = filePathService; this.seriesAppendingService = seriesAppendingService; }
public UsersController(IJsonFileDataService jsonHelper, IGetUsersService getUsersHelper, IIdService getIdHelper, IGetValidInputService validInputHelper, IFilePathService filePathService) { _jsonHelper = jsonHelper; _getUsersHelper = getUsersHelper; _getIdHelper = getIdHelper; _validInputHelper = validInputHelper; _filePathService = filePathService; }
/// <summary> /// Конструктор модели представления главного окна /// </summary> /// <param name="dialogService"><сервис диалоговых окон/param> public MainViewModel(MainWindow mainWindow, IFilePathService filePathService, IMessageService messageService) { this.mainWindow = mainWindow; this.filePathService = filePathService; this.messageService = messageService; SelectedDate = DateTime.Now; }
public CommandService( IConsole console, IFileMirrorOptions options, IFilePathService filePathService) { this.Console = console; this.Options = options; this.FilePathService = filePathService; }
public AttachmentHandlers( INavigationService navigationService, IDialogService dialogService, IFilePathService filePathService) { _navigationService = navigationService; _dialogService = dialogService; _filePathService = filePathService; }
public AttachmentSynchronizationHandler( IFilePathService filePathService, ApiWebService apiWebService, INoteMeClientMapper mapper) { _filePathService = filePathService; _apiWebService = apiWebService; _mapper = mapper; }
/// <summary> /// Constructor for FilIO class; calculate and initialize FilePath from provided file name /// </summary> /// <param name="fileName"></param> public FileIO(string fileName) { // build file path IFilePathService service = DependencyService.Get <IFilePathService>(); FilePath = service.GetFilePath(fileName); // add serializer options to be able to use Dictionary data structure in JSON serializeOptions.Converters.Add(new DictionaryTKeyEnumTValueConverter()); }
public TextPaymentRepositoryFixture() { var fixture = new Fixture(); _fakeFilePathService = A.Fake <IFilePathService>(); _repository = new TextPaymentRepository(_fakeFilePathService); _submitPaymentEntity = fixture.Create <PaymentDataEntity>(); var tempPath = AppDomain.CurrentDomain.BaseDirectory + "PaymentData.txt"; A.CallTo(() => _fakeFilePathService.GetPaymentDataFilePath()).Returns(tempPath); }
public FileSelectViewModel(IFileSpecsService fileSpecService, IFilePathService filePathService, IRegionManager regionManager) { fss = fileSpecService; fps = filePathService; rm = regionManager; GetSystemNameCommand = new DelegateCommand(AddFileSpecs); SystemNameRequest = new InteractionRequest <INotification>(); addFileSpecsCommand = new DelegateCommand(AddFileSpecs); addFilePathCommand = new DelegateCommand <object>(AddFilePath); fileSpecs = fss.GetSpecs(); }
public DocumentMetadataFactory( IDocumentIconService documentIconService, IFilePathService filePathService, IPathCasingRestorer pathCasingRestorer, IProjectBrushService projectBrushService, ITimeProvider timeProvider, IUserPreferences userPreferences) { _documentIconService = documentIconService; _filePathService = filePathService; _pathCasingRestorer = pathCasingRestorer; _projectBrushService = projectBrushService; _timeProvider = timeProvider; _userPreferences = userPreferences; }
public UploadController(IFilePathService filePathService, IItemService itemService, IHttpClientFactory clientFactory) { this._filePathService = filePathService; this._itemService = itemService; this._clientFactory = clientFactory; }
public GeneratePasswordService(IFileOperationService fileOperationService, IFilePathService pathService) { _reader = fileOperationService; _pathService = pathService; _random = new Random((int)DateTime.UtcNow.Ticks); }
public GeneratePasswordService() { _reader = new FileOperationService(); _pathService = new HttpFilePathService(); _random = new Random((int)DateTime.UtcNow.Ticks); }
public GetUsersService(IJsonFileDataService jsonHelper, IFilePathService filePathService) { _jsonHelper = jsonHelper; _filePathService = filePathService; }
public TextPaymentRepository(IFilePathService filePathService) { _filePathService = filePathService; }
public void Setup() { this.Instance = new FilePathService(null); }
public PathSegmentCountReaction(IFilePathService filePathService) { _filePathService = filePathService; }