public NStackAppService(INStackRepository repository, INStackLocalizeService localizeService, IMemoryCache memoryCache, int?howOftenToCheckInMinutes = null) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _localizeService = localizeService ?? throw new ArgumentNullException(nameof(localizeService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); _howOftenToCheckInMinutes = howOftenToCheckInMinutes ?? 5; }
public NStackLocalizeService(INStackRepository repository) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); }