public AccountManager( IDataAccessAuthorizer dataAuthorizer, IUserManager userManager, IContactDataManager contactManager, ICredentialManager credentialManager, ICooperativeManager cooperativeManager, IFarmerManager farmerManager, IUserIdentityManager userIdentityManager, IMultiFactorAuthenticator multiFactorAuthenticator, StoreProvider storeProvider) { ThrowNullArguments( () => dataAuthorizer, () => userManager, () => contactManager, () => credentialManager, () => cooperativeManager, () => farmerManager, () => userIdentityManager, () => multiFactorAuthenticator, () => storeProvider); _storeProvider = storeProvider; _dataAccessAuthorizer = dataAuthorizer; _userManager = userManager; _userIdentityManager = userIdentityManager; _credentialManager = credentialManager; _cooperativeManager = cooperativeManager; _contactManager = contactManager; _farmerManager = farmerManager; _multiFactorAuth = multiFactorAuthenticator; }
public void Initialize() { manager = new ContactDataManager { Factory = new ContactRepositoryFactory() }; }