HttpFlags GetHttpFlags(TestContext ctx) { HttpFlags flags = httpFlags; bool reuseConnection; if (ctx.TryGetParameter <bool> (out reuseConnection, "ReuseConnection") && reuseConnection) { flags |= HttpFlags.ReuseConnection; } return(flags); }
public HttpBackendAttribute(HttpFlags httpFlags = HttpFlags.None) : base(typeof(HttpBackendAttribute), TestFlags.Hidden) { this.httpFlags = httpFlags; }