public AccountManager(ICredentialAuthentication credentialAuthentication, IBackgroundOperationScheduler backgroundProcessor, IContextVerifier contextVerifier, ISettingsManager settingsManager, IUserAuthorization accessManager, IPersistenceCommands pcommands, IAppUrlProvider apiProvider, IReferralManager refManager, IUserContext userContext, IUserNotifier notifier, //IEmailPush messagePush, IBlobStore blobStore, IAccountQuery query) { ThrowNullArguments(() => userContext, () => query, () => credentialAuthentication, () => backgroundProcessor, () => contextVerifier, () => accessManager, () => blobStore, //() => messagePush, () => pcommands, () => settingsManager, () => apiProvider, () => refManager, () => notifier); UserContext = userContext; _query = query; _credentialAuth = credentialAuthentication; _contextVerifier = contextVerifier; _authorizer = accessManager; _blobStore = blobStore; //_messagePush = messagePush; _settingsManager = settingsManager; _apiProvider = apiProvider; _refManager = refManager; _pcommand = pcommands; _notifier = notifier; _backgroundProcessor = backgroundProcessor; }
public ReferralsController(IReferralManager referralManager) { ThrowNullArguments(() => referralManager); _referrals = referralManager; }