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 DataStaxEnterpriseSearch(IDseSession session, PreparedStatementCache statementCache, IFindServices serviceDiscovery, Func <Uri, IRestClient> createRestClient, SearchOptions options) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (serviceDiscovery == null) { throw new ArgumentNullException(nameof(serviceDiscovery)); } if (createRestClient == null) { throw new ArgumentNullException(nameof(createRestClient)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } _session = session; _statementCache = statementCache; _serviceDiscovery = serviceDiscovery; _createRestClient = createRestClient; _options = options; _dseSearchUri = null; }
public UpdateSearchOnVideoAdded(IDseSession session, PreparedStatementCache statementCache) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } _session = session; _statementCache = statementCache; }
public StatisticsServiceImpl(IDseSession session, PreparedStatementCache statementCache) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } _session = session; _statementCache = statementCache; }
public UpdateUploadedVideoWhenPublished(ISession session, PreparedStatementCache statementCache, IBus bus) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (bus == null) { throw new ArgumentNullException(nameof(bus)); } _session = session; _statementCache = statementCache; _bus = bus; }
public SuggestVideosByTag(ISession session, PreparedStatementCache statementCache, SuggestionsOptions options) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } _session = session; _statementCache = statementCache; _options = options; }
public RatingsServiceImpl(ISession session, PreparedStatementCache statementCache, IBus bus) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (bus == null) { throw new ArgumentNullException(nameof(bus)); } _session = session; _statementCache = statementCache; _bus = bus; }
public VideoCatalogServiceImpl(IDseSession session, PreparedStatementCache statementCache, IBus bus) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (bus == null) { throw new ArgumentNullException(nameof(bus)); } _session = session; _statementCache = statementCache; _bus = bus; Logger.Information("Video Catalog is initialized"); }
public DataStaxEnterpriseSuggestedVideos(ISession session, PreparedStatementCache statementCache, IRestClient restClient, SuggestionsOptions options) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (restClient == null) { throw new ArgumentNullException(nameof(restClient)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } _session = session; _statementCache = statementCache; _restClient = restClient; _options = options; }
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; }