Beispiel #1
0
 public CreateMemberCommandHandler(IFortifex4DBContext context, IEmailService emailService, ICurrentWeb currentWeb, IConfiguration config)
 {
     _context      = context;
     _emailService = emailService;
     _currentWeb   = currentWeb;
     _config       = config;
 }
        public CreatePersonalWalletCommandValidator(IFortifex4DBContext context)
        {
            _context = context;

            RuleFor(v => v.Name)
            .NotEmpty().WithMessage("Wallet name is required.")
            .MaximumLength(200).WithMessage("Wallet name must not exceed 200 characters.");

            RuleFor(v => v.Address)
            .NotEmpty().WithMessage("Address is required.")
            .MaximumLength(200).WithMessage("Address must not exceed 200 characters.");

            //RuleFor(v => v)
            //    .MustAsync(BeUniqueName).WithMessage("The specified wallet name already exists.");
        }
 public SyncPersonalWalletCommandHandler(
     IFortifex4DBContext context,
     IDateTimeOffsetService dateTimeOffset,
     IBitcoinService bitcoinService,
     IEthereumService ethereumService,
     IDogecoinService dogecoinService,
     ISteemService steemService,
     IHiveService hiveService)
 {
     _context         = context;
     _dateTimeOffset  = dateTimeOffset;
     _bitcoinService  = bitcoinService;
     _ethereumService = ethereumService;
     _dogecoinService = dogecoinService;
     _steemService    = steemService;
     _hiveService     = hiveService;
 }
 public RemoveAllTransactionsCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
 public CreateExchangeWalletCommandHandler(IFortifex4DBContext context, IDateTimeOffsetService dateTimeOffset)
 {
     _context        = context;
     _dateTimeOffset = dateTimeOffset;
 }
Beispiel #6
0
 public CreateProjectDocumentCommandHandler(IFortifex4DBContext context, IConfiguration configuration, IFileService fileService)
 {
     _context       = context;
     _configuration = configuration;
     _fileService   = fileService;
 }
Beispiel #7
0
 public DeleteContributorCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
 public GetPersonalWalletsQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
 public UpdateStartingBalanceCommandHandler(IFortifex4DBContext context, IDateTimeOffsetService dateTimeOffset)
 {
     _context        = context;
     _dateTimeOffset = dateTimeOffset;
 }
 public UpdateProjectStatusQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
Beispiel #11
0
 public UpdatePersonalWalletCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
Beispiel #12
0
 public GetProjectDocumentHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
 public UpdateFiatCurrencyCoinMarketCapIDsCommandHandler(IFortifex4DBContext context, IFileService fileService)
 {
     _context     = context;
     _fileService = fileService;
 }
Beispiel #14
0
 public CreateContributorsCommandHandler(IFortifex4DBContext context, IEmailService emailService, ICurrentWeb currentWeb)
 {
     _context      = context;
     _emailService = emailService;
     _currentWeb   = currentWeb;
 }
 public UpdateContributorInvitationStatusCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
Beispiel #16
0
 public GetCurrencyQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
Beispiel #17
0
 public GetOwnerQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
 public GetAllCountriesQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
 public GetPocketQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
Beispiel #20
0
 public CreatePersonalWalletCommandHandler(ILogger <CreatePersonalWalletCommandHandler> logger, IFortifex4DBContext context, IDateTimeOffsetService dateTimeOffset)
 {
     _logger         = logger;
     _context        = context;
     _dateTimeOffset = dateTimeOffset;
 }
 public CreateExchangeOwnerCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
Beispiel #22
0
 public GetMyPersonalWalletsQueryHandler(IFortifex4DBContext context, ICurrentUserService currentUser)
 {
     _context     = context;
     _currentUser = currentUser;
 }
Beispiel #23
0
 public UpdateCryptoCurrenciesCommandHandler(ILogger <UpdateCryptoCurrenciesCommandHandler> logger, IFortifex4DBContext context, ICryptoService cryptoService)
 {
     _logger        = logger;
     _context       = context;
     _cryptoService = cryptoService;
 }
Beispiel #24
0
 public DeleteWalletCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
Beispiel #25
0
 public GetPortfolioByCoinsQueryHandler(IFortifex4DBContext context, ICryptoService cryptoService)
 {
     _context       = context;
     _cryptoService = cryptoService;
 }
 public CreateWithdrawalCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
 public CreateExternalTransferCommandHandler(IFortifex4DBContext context, IDateTimeOffsetService dateTimeOffset)
 {
     _context        = context;
     _dateTimeOffset = dateTimeOffset;
 }
Beispiel #28
0
 public DeleteInternalTransferCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
Beispiel #29
0
 public RejectInvitationCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
Beispiel #30
0
 public CreateTradeCommandHandler(IFortifex4DBContext context, ICryptoService cryptoService)
 {
     _context       = context;
     _cryptoService = cryptoService;
 }