/// <summary> /// Used to load a named feature from an abstract location. /// </summary> public static Feature Load(string name, ISourceResolver finder) { using (var stream = finder.Resolve(name)) { return(Load(stream)); } }
public Distributor(ISourceResolver sourceResolver, IWorkerExecutor workerExecutor, IResultsFetcher resultsFetcher, IResultsStorer resultsStorer) { _sourceResolver = sourceResolver; _workerExecutor = workerExecutor; _resultsFetcher = resultsFetcher; _resultsStorer = resultsStorer; }
public IncomeUpdater(BudgetContext context, ISourceResolver sourceResolver, IClientSourceResolver clientSourceResolver, IMapper mapper) { _context = context; _sourceResolver = sourceResolver; _mapper = mapper; _clientSourceResolver = clientSourceResolver; }
public IncomeAdder(BudgetContext context, ISourceResolver sourceResolver, IClientSourceResolver clientSourceReolver, IUserAccessor userAccessor) { _context = context; _sourceResolver = sourceResolver; _userAccessor = userAccessor; _clientSourceResolver = clientSourceReolver; }
public LoggingSourceResolver( ISourceResolver sourceResolver, ILoggingSourceFactory loggingSourceFactory, ILoggingContentStorageSourceFactory loggingContentStorageSourceFactory) { _sourceResolver = sourceResolver; _loggingSourceFactory = loggingSourceFactory; _loggingContentStorageSourceFactory = loggingContentStorageSourceFactory; }
public DistributorEntryPoint(ISourceResolver resolver, IWorkerExecutor executor, IResultsFetcher resultsFetcher, IResultsStorer resultsStorer) { _distributor = new Distributor(resolver, executor, resultsFetcher, resultsStorer); }
public Versioner(ISourceResolver resolver, IFileEditor editor) { this.resolver = resolver; this.editor = editor; }