public HttpStepContext(HttpClient httpClient, SurfContext surfContext, IHypertextResourceFormatter resourceFormatter) { this.HttpClient = httpClient ?? throw new System.ArgumentNullException(nameof(httpClient)); this.SurfContext = surfContext ?? throw new System.ArgumentNullException(nameof(surfContext)); this.ResourceFormatter = resourceFormatter ?? throw new System.ArgumentNullException(nameof(resourceFormatter)); }
public StepFactory(SurfContext context, IHypertextResourceFormatter resourceFormatter) { this.SurfContext = context ?? throw new ArgumentNullException(nameof(context)); this.ResourceFormatter = resourceFormatter ?? throw new ArgumentNullException(nameof(resourceFormatter)); }
protected WaveBuilder(SurfContext context, IHypertextResourceFormatter resourceFormatter) { this.SurfContext = context ?? throw new ArgumentNullException(nameof(context)); this.StepFactory = new StepFactory(context, resourceFormatter); }