예제 #1
0
 public ImportBugsChunkHandler(ILocalBus bus, IStorageRepository storageRepository, IActivityLogger logger, IBugzillaService bugzillaService)
 {
     _bus = bus;
     _storageRepository = storageRepository;
     _logger            = logger;
     _bugzillaService   = bugzillaService;
 }
		public BugzillaChangeStatusAction(string bugzillaBugId, string status, string commentOnChangingState)
		{
			_bugzillaBugId = bugzillaBugId;
			_status = status;
			_commentOnChangingState = commentOnChangingState;
			_bugzillaService = ObjectFactory.GetInstance<IBugzillaService>();
			_bugzillaInfoStorageRepository = ObjectFactory.GetInstance<IBugzillaInfoStorageRepository>();
		}
예제 #3
0
 public BugzillaChangeStatusAction(string bugzillaBugId, string status, string commentOnChangingState)
 {
     _bugzillaBugId                 = bugzillaBugId;
     _status                        = status;
     _commentOnChangingState        = commentOnChangingState;
     _bugzillaService               = ObjectFactory.GetInstance <IBugzillaService>();
     _bugzillaInfoStorageRepository = ObjectFactory.GetInstance <IBugzillaInfoStorageRepository>();
 }
예제 #4
0
 public BugUpdatedHandler(IBugzillaInfoStorageRepository bugzillaInfoStorageRepository, IBugzillaService bugzillaService, EntityStateConverter entityStateConverter, IActivityLogger logger, IBugzillaActionFactory actionFactory)
 {
     _bugzillaInfoStorageRepository = bugzillaInfoStorageRepository;
     _bugzillaService      = bugzillaService;
     _entityStateConverter = entityStateConverter;
     _log           = logger;
     _actionFactory = actionFactory;
 }
예제 #5
0
 public BugsSynchronizer(ILocalBus bus, IStorageRepository storageRepository, IBugzillaService bugzillaService,
                         IBugChunkSize bugChunkSize, IActivityLogger logger)
 {
     _bus = bus;
     _storageRepository = storageRepository;
     _bugzillaService   = bugzillaService;
     _bugChunkSize      = bugChunkSize;
     _logger            = logger;
 }
예제 #6
0
 public CommentCreatedHandler(IStorageRepository storage, IBugzillaInfoStorageRepository bugzillaInfoStorageRepository,
                              IBugzillaService bugzillaService, IBugzillaActionFactory actionFactory, IActivityLogger logger)
 {
     _storage = storage;
     _bugzillaInfoStorageRepository = bugzillaInfoStorageRepository;
     _bugzillaService = bugzillaService;
     _actionFactory   = actionFactory;
     _logger          = logger;
 }
 public TeamChangedHandler(IStorageRepository storage, IBugzillaInfoStorageRepository bugzillaInfoStorageRepository,
                           IBugzillaService service, IBugzillaActionFactory actionFactory, IUserMapper userMapper, IActivityLogger logger)
 {
     _storage = storage;
     _bugzillaInfoStorageRepository = bugzillaInfoStorageRepository;
     _service       = service;
     _actionFactory = actionFactory;
     _userMapper    = userMapper;
     _logger        = logger;
 }
 public EntityStateConverter(IStorageRepository storageRepository, IBugzillaService bugzillaService, IActivityLogger logger)
     : base(storageRepository, logger)
 {
     _bugzillaService = bugzillaService;
 }