Esempio n. 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>();
		}
Esempio n. 3
0
 public BugzillaChangeStatusAction(string bugzillaBugId, string status, string commentOnChangingState)
 {
     _bugzillaBugId                 = bugzillaBugId;
     _status                        = status;
     _commentOnChangingState        = commentOnChangingState;
     _bugzillaService               = ObjectFactory.GetInstance <IBugzillaService>();
     _bugzillaInfoStorageRepository = ObjectFactory.GetInstance <IBugzillaInfoStorageRepository>();
 }
Esempio n. 4
0
 public BugUpdatedHandler(IBugzillaInfoStorageRepository bugzillaInfoStorageRepository, IBugzillaService bugzillaService, EntityStateConverter entityStateConverter, IActivityLogger logger, IBugzillaActionFactory actionFactory)
 {
     _bugzillaInfoStorageRepository = bugzillaInfoStorageRepository;
     _bugzillaService      = bugzillaService;
     _entityStateConverter = entityStateConverter;
     _log           = logger;
     _actionFactory = actionFactory;
 }
Esempio n. 5
0
 public BugsSynchronizer(ILocalBus bus, IStorageRepository storageRepository, IBugzillaService bugzillaService,
                         IBugChunkSize bugChunkSize, IActivityLogger logger)
 {
     _bus = bus;
     _storageRepository = storageRepository;
     _bugzillaService   = bugzillaService;
     _bugChunkSize      = bugChunkSize;
     _logger            = logger;
 }
Esempio n. 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;
 }