public BugzillaActionFactory(IBugzillaInfoStorageRepository bugzillaStorage, IStorageRepository repository,
		                             IUserMapper userMapper)
		{
			_bugzillaStorage = bugzillaStorage;
			_repository = repository;
			_userMapper = userMapper;
		}
 public BugzillaActionFactory(IBugzillaInfoStorageRepository bugzillaStorage, IStorageRepository repository,
                              IUserMapper userMapper)
 {
     _bugzillaStorage = bugzillaStorage;
     _repository      = repository;
     _userMapper      = userMapper;
 }
		public BugzillaChangeStatusAction(string bugzillaBugId, string status, string commentOnChangingState)
		{
			_bugzillaBugId = bugzillaBugId;
			_status = status;
			_commentOnChangingState = commentOnChangingState;
			_bugzillaService = ObjectFactory.GetInstance<IBugzillaService>();
			_bugzillaInfoStorageRepository = ObjectFactory.GetInstance<IBugzillaInfoStorageRepository>();
		}
Exemplo n.º 4
0
 public BugzillaChangeStatusAction(string bugzillaBugId, string status, string commentOnChangingState)
 {
     _bugzillaBugId                 = bugzillaBugId;
     _status                        = status;
     _commentOnChangingState        = commentOnChangingState;
     _bugzillaService               = ObjectFactory.GetInstance <IBugzillaService>();
     _bugzillaInfoStorageRepository = ObjectFactory.GetInstance <IBugzillaInfoStorageRepository>();
 }
Exemplo n.º 5
0
 public BugUpdatedHandler(IBugzillaInfoStorageRepository bugzillaInfoStorageRepository, IBugzillaService bugzillaService, EntityStateConverter entityStateConverter, IActivityLogger logger, IBugzillaActionFactory actionFactory)
 {
     _bugzillaInfoStorageRepository = bugzillaInfoStorageRepository;
     _bugzillaService      = bugzillaService;
     _entityStateConverter = entityStateConverter;
     _log           = logger;
     _actionFactory = actionFactory;
 }
Exemplo 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 AttachmentChangedHandler(IStorageRepository storage,
                                 IBugzillaInfoStorageRepository bugzillaInfoStorageRepository) : base(storage)
 {
     _bugzillaInfoStorageRepository = bugzillaInfoStorageRepository;
 }
Exemplo n.º 9
0
 public BugImportSaga(IActivityLogger logger, IBugzillaInfoStorageRepository bugzillaInfoStorageRepository)
 {
     _logger = logger;
     _bugzillaInfoStorageRepository = bugzillaInfoStorageRepository;
 }