/// <summary> /// Creates new instance of <see cref="TablesManager"/> /// </summary> /// <param name="instanceManager">Instance of <see cref="InstanceManager"/></param> /// <param name="tablesRepository">Instance of <see cref="ITablesRepository"/></param> /// <param name="mapper">Instance of <see cref="IMapper"/></param> public TablesManager( IInstanceManager instanceManager, ITablesRepository tablesRepository, IMapper mapper) { _instanceManager = instanceManager ?? throw new ArgumentNullException(nameof(instanceManager)); _tablesRepository = tablesRepository ?? throw new ArgumentNullException(nameof(tablesRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); }
public StateMachineManager( ICacheAdapter cacheAdapter, ITablesRepository tablesRepository, ITablesUsagePolicy tablesUsagePolicy) { _cache = cacheAdapter ?? throw new ArgumentNullException(nameof(cacheAdapter)); _tables = tablesRepository ?? throw new ArgumentNullException(nameof(tablesRepository)); _tablesUsagePolicy = tablesUsagePolicy ?? throw new ArgumentNullException(nameof(tablesUsagePolicy)); _defaultCacheExpiration = TimeSpan.FromMinutes(DefaultCacheExpirationInMinutes); }
public TablesService(ITablesRepository tablesRepository) { _tablesRepository = tablesRepository; }
public TablesController(ITablesRepository tablesRepository, IClientValidator certificateValidator) { log.DebugEx("TablesController created"); _tablesRepository = tablesRepository; _clientValidator = certificateValidator; }
public TablesController(ITablesRepository tablesRepository) { log.DebugEx("TablesController created"); _tablesRepository = tablesRepository; }
public TablesManager(ITablesRepository repository) : base(repository) { }