Exemplo n.º 1
0
 public AddPurchaseImageCommandHandler(IQuickSplitContext context, IImageRepository imageRepository)
 {
     _context                           = context;
     _imageRepository                   = imageRepository;
     _imageRepository.FolderName        = "Purchases";
     _imageRepository.ImageQualityRatio = 50;
 }
Exemplo n.º 2
0
 protected CommandsTestBase()
 {
     Context        = TestingFactory.CreateInMemoryContext();
     Users          = Context.Users;
     Friendships    = Context.Friendships;
     Groups         = Context.Groups;
     Memberships    = Context.Memberships;
     PasswordHasher = new PasswordHasher.PasswordHasher();
 }
Exemplo n.º 3
0
 public DeleteUserCommandHandler(IQuickSplitContext context, IImageRepository imageRepository)
 {
     _context         = context;
     _imageRepository = imageRepository;
 }
Exemplo n.º 4
0
 public UpdateUserCommandHandler(IQuickSplitContext context)
 {
     _context = context;
 }
Exemplo n.º 5
0
 public DeleteGroupCommandHandler(IQuickSplitContext context)
 {
     _context = context;
 }
Exemplo n.º 6
0
 public ModifyPurchaseCommandHandler(IQuickSplitContext context)
 {
     _context = context;
 }
Exemplo n.º 7
0
 public GetGroupsQueryHandler(IQuickSplitContext context)
 {
     _context = context;
 }
 public PasswordIsValidQueryHandler(IQuickSplitContext context, IPasswordHasher hasher)
 {
     this._context = context;
     _users        = context.Users;
     _hasher       = hasher;
 }
 public GetPurchaseImageQueryHandler(IQuickSplitContext context, IImageRepository imageRepository)
 {
     _context                    = context;
     _imageRepository            = imageRepository;
     _imageRepository.FolderName = "Purchases";
 }
 public AddOrUpdateAvatarCommandHandler(IQuickSplitContext context, IImageRepository imageRepository)
 {
     _context         = context;
     _imageRepository = imageRepository;
 }
Exemplo n.º 11
0
 public DeleteFriendCommandHandler(IQuickSplitContext context)
 {
     _context = context;
 }
 public CreateAddPurchaseCommandHandler(IQuickSplitContext context)
 {
     _context = context;;
 }
 public GetPurchasesByUserQueryHandler(IQuickSplitContext context, IImageRepository imageRepository)
 {
     _context                    = context;
     _imageRepository            = imageRepository;
     _imageRepository.FolderName = "Participants";
 }
Exemplo n.º 14
0
 public CreateUserCommandHandler(IQuickSplitContext context, IPasswordHasher hasher)
 {
     _context = context;
     _hasher  = hasher;
 }
Exemplo n.º 15
0
 public GetMembersQueryHandler(IQuickSplitContext context, IImageRepository imageRepository)
 {
     _context         = context;
     _imageRepository = imageRepository;
 }
 public GetSplitCostReportHandler(IQuickSplitContext context, IImageRepository imageRepository)
 {
     _context         = context;
     _imageRepository = imageRepository;
 }
Exemplo n.º 17
0
 public GetPurchasesByGroupQueryHandler(IQuickSplitContext context, IImageRepository imageRepository)
 {
     _context = context;
 }
Exemplo n.º 18
0
 public GetPurchasesQueryHandler(IQuickSplitContext context)
 {
     _context = context;
 }
Exemplo n.º 19
0
 public GetUserByIdQueryHandler(IQuickSplitContext context, IImageRepository imageRepository)
 {
     _context         = context;
     _imageRepository = imageRepository;
     _users           = context.Users;
 }