Example #1
0
 public HabitantInsertValidator(
     IHabitantReadOnlyRepository habitantReadOnlyRepository,
     IHairColorReadonlyRepository hairColorReadonlyRepository,
     IProfessionReadonlyRepository professionReadonlyRepository) :
     base(habitantReadOnlyRepository, hairColorReadonlyRepository, professionReadonlyRepository)
 {
 }
 protected HabitantBaseValidator(
     IHabitantReadOnlyRepository habitantReadOnlyRepository,
     IHairColorReadonlyRepository hairColorReadonlyRepository,
     IProfessionReadonlyRepository professionReadonlyRepository)
 {
     this.habitantReadOnlyRepository   = habitantReadOnlyRepository;
     this.hairColorReadonlyRepository  = hairColorReadonlyRepository;
     this.professionReadonlyRepository = professionReadonlyRepository;
 }
 public DeleteFriendFromHabitantHandler(
     ICommandDispatcher bus,
     IMapper mapper,
     ILogger <DeleteFriendFromHabitantCommand> logger,
     HabitantRemoveFriendValidator habitantRemoveFriendValidator,
     IHabitantReadOnlyRepository habitantReadOnlyRepository,
     IHabitantRepository habitantRepository) : base(bus, mapper, logger)
 {
     this.habitantRemoveFriendValidator = habitantRemoveFriendValidator;
     this.habitantRepository            = habitantRepository;
     this.habitantReadOnlyRepository    = habitantReadOnlyRepository;
 }
 public AddFriendToHabitantHandle(
     ICommandDispatcher bus,
     IMapper mapper,
     ILogger <AddFriendToHabitantCommand> logger,
     HabitantAddFriendValidator habitantAddFriendValidator,
     IHabitantReadOnlyRepository habitantReadOnlyRepository,
     IHabitantRepository habitantRepository) : base(bus, mapper, logger)
 {
     this.habitantAddFriendValidator = habitantAddFriendValidator;
     this.habitantRepository         = habitantRepository;
     this.habitantReadOnlyRepository = habitantReadOnlyRepository;
 }
 public GetHabitantsHandler(IQueryDispatcher bus, IMapper mapper, ILogger <GetHabitantsQuery> logger, IHabitantReadOnlyRepository habitantReadOnlyRepository) : base(bus, mapper, logger)
 {
     this.habitantReadOnlyRepository = habitantReadOnlyRepository;
 }