public Scraper(IHtmlWebService htmlWebService, ISetupManager setupManager, IHtmlProcessor htmlProcessor) { _htmlWebService = htmlWebService; _setupManager = setupManager; _htmlProcessor = htmlProcessor; _robots = new Robots(string.Empty); _processedList = new List <string>(); _toProcessList = new Stack <string>(); }
/// <summary> /// Initializes a new instance of the <see cref="SmocksContext" /> class. /// </summary> /// <param name="setupManager">The setup manager.</param> /// <param name="invocationTracker">The invocation tracker.</param> /// <param name="eventInterceptor">The event interceptor.</param> internal SmocksContext(ISetupManager setupManager, IInvocationTracker invocationTracker, EventInterceptor eventInterceptor) { ArgumentChecker.NotNull(setupManager, nameof(setupManager)); ArgumentChecker.NotNull(invocationTracker, nameof(invocationTracker)); ArgumentChecker.NotNull(eventInterceptor, nameof(eventInterceptor)); _setupManager = setupManager; _invocationTracker = invocationTracker; _eventInterceptor = eventInterceptor; }
internal SetupMatcher(ISetupManager setupManager, ITargetMatcher targetMatcher, IArgumentMatcher argumentMatcher) { ArgumentChecker.NotNull(setupManager, () => setupManager); ArgumentChecker.NotNull(targetMatcher, () => targetMatcher); ArgumentChecker.NotNull(argumentMatcher, () => argumentMatcher); _setupManager = setupManager; _targetMatcher = targetMatcher; _argumentMatcher = argumentMatcher; }
internal InvocationTracker(ISetupManager setupManager) { ArgumentChecker.NotNull(setupManager, () => setupManager); _setupManager = setupManager; }
public void TestInitialize() { _setupAccessorMock = new SetupAccessorMock(); _setupManager = new SetupManager(_setupAccessorMock); _setups = null; }
void ISetSetupPageViewModel.SetSetup(ISetupManager manager) { Setup = manager; }
public Crawler(ISetupManager setupManager, IScraper scraper) { _setupManager = setupManager; _scraper = scraper; }