예제 #1
0
 public FitConverter(Configuration config, IDbClient dbClient, IFileHandling fileHandler) : base(config, dbClient, fileHandler)
 {
 }
예제 #2
0
 public Converter(Settings config, IFileHandling fileHandler)
 {
     _config      = config;
     _fileHandler = fileHandler;
 }
예제 #3
0
 public Converter(Configuration config, IDbClient dbClient, IFileHandling fileHandler)
 {
     _config      = config;
     _dbClient    = dbClient;
     _fileHandler = fileHandler;
 }
예제 #4
0
 public SyncStatusDb(IFileHandling fileHandling) : base("SyncStatus", fileHandling)
 {
     _db = new DataStore(DbPath);
 }
예제 #5
0
 public ImportClaimsApplication(ImportClaimsConfiguration importClaimsConfiguration, IFileRepository fileRepository, IFileHandling fileHandling, IClaimsRepository claimsRepository)
 {
     _importClaimsConfiguration = importClaimsConfiguration;
     _fileRepository            = fileRepository;
     _fileHandling     = fileHandling;
     _claimsRepository = claimsRepository;
 }
 public ConverterInstance(Settings settings, IFileHandling fileHandling) : base(settings, fileHandling)
 {
 }
 public SyncService(Settings config, IPelotonService pelotonService, IGarminUploader garminUploader, IEnumerable <IConverter> converters, ISyncStatusDb dbClient, IFileHandling fileHandler)
 {
     _config         = config;
     _pelotonService = pelotonService;
     _garminUploader = garminUploader;
     _converters     = converters;
     _db             = dbClient;
     _fileHandler    = fileHandler;
 }
예제 #8
0
 public void TearDown()
 {
     _mockLogger           = null;
     _mockPersonRepository = null;
     _fileHandling         = null;
 }
 public FitConverter(Settings settings, IFileHandling fileHandler) : base(settings, fileHandler)
 {
 }
예제 #10
0
 public void SetUp()
 {
     _mockLogger           = new Mock <ILogger>();
     _mockPersonRepository = new Mock <IPersonRepository>();
     _fileHandling         = new FileHandling(_mockPersonRepository.Object, _mockLogger.Object);
 }
예제 #11
0
 public InternalPelotonService(Settings config, IPelotonApi pelotonApi, IFileHandling fileHandler) : base(config, pelotonApi, fileHandler)
 {
 }
예제 #12
0
 public void SetUp()
 {
     _fileHandling = new FixedFileHandling();
 }
예제 #13
0
 public UploadController()
 {
     fileHandlingRepo = new FileHandlingRepo();
     expenseRepo      = new ExpenseRepo();
 }
예제 #14
0
 public SettingsDb(IFileHandling fileHandler) : base("Settings", fileHandler)
 {
     _db = new DataStore(DbPath);
 }