public LinqUserManagementService(IDseSession session, PreparedStatementCache statementCache, IBus bus, UserManagementOptions options) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (bus == null) { throw new ArgumentNullException(nameof(bus)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } _session = session; _statementCache = statementCache; _bus = bus; _options = options; _userProfileTable = new Table <LinqDtos.UserProfile>(session); _userCredentialsTable = new Table <UserCredentials>(session); }
public UserManagementServiceImpl(IDseSession session, PreparedStatementCache statementCache, IBus bus, UserManagementOptions options) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (bus == null) { throw new ArgumentNullException(nameof(bus)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } _session = session; _statementCache = statementCache; _bus = bus; _options = options; }