public SeleniumResultsCommand(IStorageRepository storageRepository, ILocalBus localBus, ITestRunImportResultsReaderFactory resultsReaderFactory, IActivityLogger log) { _storageRepository = storageRepository; _localBus = localBus; _resultsReaderFactory = resultsReaderFactory; _log = log; }
public NewRevisionRangeDetectedMessageHandler(IVersionControlSystem versionControlSystem, ILocalBus bus, IActivityLogger logger) { _versionControlSystem = versionControlSystem; _bus = bus; _logger = logger; _parser = new CommentParser(); }
public ImportBugsChunkHandler(ILocalBus bus, IStorageRepository storageRepository, IActivityLogger logger, IBugzillaService bugzillaService) { _bus = bus; _storageRepository = storageRepository; _logger = logger; _bugzillaService = bugzillaService; }
public SyncNowCommand(IStorageRepository storageRepository, ILocalBus localBus, IStreamFactory streamFactory, ITestRunImportResultsReaderFactory resultsReaderFactory) { _storageRepository = storageRepository; _localBus = localBus; _streamFactory = streamFactory; _resultsReaderFactory = resultsReaderFactory; }
public MailInbox(ILocalBus localBus, MessageUidRepository messageUidRepository, IMessagePackSize messagePackSize, IActivityLogger log) { _messageUidRepository = messageUidRepository; _messagePackSize = messagePackSize; _localBus = localBus; _log = log; }
public AutomaticTestRunImportListener(IStorageRepository storageRepository, ILocalBus localBus, IStreamFactory streamFactory, ITestRunImportResultsReaderFactory resultsReaderFactory, IActivityLogger log) { _storageRepository = storageRepository; _localBus = localBus; _streamFactory = streamFactory; _resultsReaderFactory = resultsReaderFactory; _log = log; }
public BugsSynchronizer(ILocalBus bus, IStorageRepository storageRepository, IBugzillaService bugzillaService, IBugChunkSize bugChunkSize, IActivityLogger logger) { _bus = bus; _storageRepository = storageRepository; _bugzillaService = bugzillaService; _bugChunkSize = bugChunkSize; _logger = logger; }
protected VersionControlSystemProcessorBase(IRevisionIdComparer revisionComparer, IStorageRepository storage, ISourceControlConnectionSettingsSource settingsSource, IVersionControlSystem versionControlSystem, ILocalBus bus, IActivityLogger logger) { RevisionComparer = revisionComparer; Storage = storage; VersionControlSystem = versionControlSystem; Bus = bus; Logger = logger; StartRevision = revisionComparer.ConvertToRevisionId(settingsSource.StartRevision); }
public EmailReader(IStorageRepository storageRepository, ILocalBus localBus, IEmailClient client, MessageUidRepository messageUidRepository, IActivityLogger log) { _client = client; _messageUidRepository = messageUidRepository; _localBus = localBus; _profile = storageRepository.GetProfile <ProjectEmailProfile>(); _log = log; _processedUids = new List <string>(); }
public TfsWorkItemsListener( IWorkItemsStore workItemsStore, ILocalBus bus, IStorageRepository storage, IActivityLogger logger) { _workItemsStore = workItemsStore; _bus = bus; _storage = storage; _logger = logger; }
public EntityIndexer(DocumentFactory documentFactory, ILocalBus localBus, IProfileReadonly profile, IPluginContext pluginContext, IDocumentIdFactory documentIdFactory, IDocumentIndexProvider documentIndexProvider, IEntityTypeProvider entityTypeProvider, IActivityLogger log) { _documentFactory = documentFactory; _localBus = localBus; _profile = profile; _pluginContext = pluginContext; _documentIdFactory = documentIdFactory; _documentIndexProvider = documentIndexProvider; _entityTypeProvider = entityTypeProvider; _log = log; _textOperations = new TextOperations(); }
static void Main(string[] args) { ILocalBus bus = Intialize(); var command = new SayHelloToUser(System.Environment.UserName); bus.Execute(command); using (var scope = Configuration.RootContainer.BeginLifetimeScope()) { var repositoryFactory = scope.GetInstance <IRepositoryFactory>(); var repository = repositoryFactory.GetRepository <GreetingLog>(); var log = repository.Get(1); Console.WriteLine("Greeting log: Greeted {0} at {1}", log.Name, log.OccuredAt.ToShortTimeString()); } Console.WriteLine("\nPress any key to exit..."); Console.ReadKey(); }
public SurveyController(IRepositoryFactory repositoryFactory, ILocalBus bus) { this.bus = bus; surveys = repositoryFactory.GetRepository <Survey>(); }
public HelloUserHandler(ILocalBus bus, IRepositoryFactory repositoryFactory) { this.bus = bus; this.repository = repositoryFactory.GetRepository <GreetingLog>(); }
public TestController(ILocalBus bus) { //this is simply done to ensure the dependency injection is working. this.bus = bus; }
public AttachmentImporter(IStorageRepository storageRepository, ILocalBus localBus, IActivityLogger logger) { _storageRepository = storageRepository; _localBus = localBus; _logger = logger; }
public SyncNowCommand(ILocalBus localBus, IPluginContext pluginContext, IProfileCollection profileCollection) { _localBus = localBus; _pluginContext = pluginContext; _profileCollection = profileCollection; }
public ParserPipeline(ILocalBus bus) { Bus = bus; }
public RevisionCreatedLocalMessageHandler(ILocalBus bus, IActivityLogger logger) { _bus = bus; _logger = logger; }
public VersionControlSystemListener(IVersionControlSystem versionControlSystem, IRevisionIdComparer revisionComparer, ILocalBus bus, IStorageRepository storage, ISourceControlConnectionSettingsSource settingsSource, IActivityLogger logger) : base(revisionComparer, storage, settingsSource, versionControlSystem, bus, logger) { }
public SyncNowMessageHandler(ILocalBus localBus, IStorageRepository storage) { _localBus = localBus; _storage = storage; }
public PollResultController(IRepositoryFactory repositoryFactory, ILocalBus bus) { this.bus = bus; pollResults = repositoryFactory.GetRepository <PollResult>(); }
public RepositoryRescanInitiatedMessageHandler(IVersionControlSystem versionControlSystem, IRevisionIdComparer revisionComparer, ILocalBus bus, ISourceControlConnectionSettingsSource settingsSource, IStorageRepository storage, IActivityLogger logger) : base(revisionComparer, storage, settingsSource, versionControlSystem, bus, logger) { }