public BitLevelManager(IUserAuthorization authorizer, IUserContext userContext, IBitLevelQuery query, IPersistenceCommands pcommand, IUserNotifier notifier, IBlockChainService blockChain, ISettingsManager settingsManager, IReferralQuery refQuery, //IEmailPush emailService, IBackgroundOperationScheduler backgroundProcessor, IAppUrlProvider urlProvider) { ThrowNullArguments(() => userContext, () => query, () => pcommand, () => notifier, () => blockChain, () => settingsManager, () => refQuery, //() => emailService, () => backgroundProcessor, () => urlProvider); _query = query; _pcommand = pcommand; _authorizer = authorizer; _notifier = notifier; _blockChain = blockChain; _refQuery = refQuery; _settingsManager = settingsManager; //_emailService = emailService; _backgroundProcessor = backgroundProcessor; _urlProvider = urlProvider; UserContext = userContext; }
public BlockChainService(IBlockChainQuery blQuery, IUserContext context, IPersistenceCommands pcommand, IBitLevelQuery levelQuery, IUserAuthorization authorizer, IUserNotifier notifier) { ThrowNullArguments(() => blQuery, () => context, () => pcommand, () => authorizer, () => levelQuery, () => notifier); this._blQuery = blQuery; this.UserContext = context; this._pcommand = pcommand; this._authorizer = authorizer; this._levelQuery = levelQuery; this._notifier = notifier; }