public void should_set_maximum_in_to_passed_value() { var options = new DeepSearchOptions { MaxWaveCount = 53 }; Assert.AreEqual(53, options.MaxWaveCount); }
public DeepSearchService(ICacheService cacheService, ILogger <DeepSearchService> logger, IOptions <DeepSearchOptions> deepSearchOptions, IDeepSearchDispatcher deepSearchDispatcher) { _cacheService = cacheService; _logger = logger; _deepSearchOptions = deepSearchOptions.Value; _deepSearchDispatcher = deepSearchDispatcher; }
public SearchOptions() { InitializeComponent(); Options = new DeepSearchOptions(); }
public void should_set_maximum_in_code_if_not_set() { var options = new DeepSearchOptions(); Assert.AreEqual(5, options.MaxWaveCount); }