コード例 #1
0
 public CreateMemberCommandHandler(IFortifex4DBContext context, IEmailService emailService, ICurrentWeb currentWeb, IConfiguration config)
 {
     _context      = context;
     _emailService = emailService;
     _currentWeb   = currentWeb;
     _config       = config;
 }
コード例 #2
0
        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.");
        }
コード例 #3
0
 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;
 }
コード例 #4
0
 public RemoveAllTransactionsCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #5
0
 public CreateExchangeWalletCommandHandler(IFortifex4DBContext context, IDateTimeOffsetService dateTimeOffset)
 {
     _context        = context;
     _dateTimeOffset = dateTimeOffset;
 }
コード例 #6
0
 public CreateProjectDocumentCommandHandler(IFortifex4DBContext context, IConfiguration configuration, IFileService fileService)
 {
     _context       = context;
     _configuration = configuration;
     _fileService   = fileService;
 }
コード例 #7
0
 public DeleteContributorCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #8
0
 public GetPersonalWalletsQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #9
0
 public UpdateStartingBalanceCommandHandler(IFortifex4DBContext context, IDateTimeOffsetService dateTimeOffset)
 {
     _context        = context;
     _dateTimeOffset = dateTimeOffset;
 }
コード例 #10
0
 public UpdateProjectStatusQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #11
0
 public UpdatePersonalWalletCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #12
0
 public GetProjectDocumentHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
 public UpdateFiatCurrencyCoinMarketCapIDsCommandHandler(IFortifex4DBContext context, IFileService fileService)
 {
     _context     = context;
     _fileService = fileService;
 }
コード例 #14
0
 public CreateContributorsCommandHandler(IFortifex4DBContext context, IEmailService emailService, ICurrentWeb currentWeb)
 {
     _context      = context;
     _emailService = emailService;
     _currentWeb   = currentWeb;
 }
 public UpdateContributorInvitationStatusCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #16
0
 public GetCurrencyQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #17
0
 public GetOwnerQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #18
0
 public GetAllCountriesQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #19
0
 public GetPocketQueryHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #20
0
 public CreatePersonalWalletCommandHandler(ILogger <CreatePersonalWalletCommandHandler> logger, IFortifex4DBContext context, IDateTimeOffsetService dateTimeOffset)
 {
     _logger         = logger;
     _context        = context;
     _dateTimeOffset = dateTimeOffset;
 }
コード例 #21
0
 public CreateExchangeOwnerCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #22
0
 public GetMyPersonalWalletsQueryHandler(IFortifex4DBContext context, ICurrentUserService currentUser)
 {
     _context     = context;
     _currentUser = currentUser;
 }
コード例 #23
0
 public UpdateCryptoCurrenciesCommandHandler(ILogger <UpdateCryptoCurrenciesCommandHandler> logger, IFortifex4DBContext context, ICryptoService cryptoService)
 {
     _logger        = logger;
     _context       = context;
     _cryptoService = cryptoService;
 }
コード例 #24
0
 public DeleteWalletCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #25
0
 public GetPortfolioByCoinsQueryHandler(IFortifex4DBContext context, ICryptoService cryptoService)
 {
     _context       = context;
     _cryptoService = cryptoService;
 }
コード例 #26
0
 public CreateWithdrawalCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #27
0
 public CreateExternalTransferCommandHandler(IFortifex4DBContext context, IDateTimeOffsetService dateTimeOffset)
 {
     _context        = context;
     _dateTimeOffset = dateTimeOffset;
 }
コード例 #28
0
 public DeleteInternalTransferCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #29
0
 public RejectInvitationCommandHandler(IFortifex4DBContext context)
 {
     _context = context;
 }
コード例 #30
0
 public CreateTradeCommandHandler(IFortifex4DBContext context, ICryptoService cryptoService)
 {
     _context       = context;
     _cryptoService = cryptoService;
 }