/// <summary> /// Initializes a new instance of the <see cref="AppWalker"/> class. /// </summary> /// <param name="appWalkerConfiguration">The configuration that describes how we should run the walker.</param> /// <param name="inputs">A set of allowed inputs.</param> public AppWalker(AppWalkerConfiguration appWalkerConfiguration, IList <IAppWalkerInput> inputs) { if (appWalkerConfiguration == null) { throw new ArgumentNullException(nameof(appWalkerConfiguration)); } _inputs = inputs ?? new List <IAppWalkerInput> { new TapAppWalkerInput(true) }; _appWalkerConfiguration = appWalkerConfiguration; _rnd = new Random(); }
/// <summary> /// Initializes a new instance of the <see cref="AppWalker"/> class. /// </summary> /// <param name="appWalkerConfiguration">The configuration that describes how we should run the walker.</param> public AppWalker(AppWalkerConfiguration appWalkerConfiguration) : this(appWalkerConfiguration, null) { }