Пример #1
0
        HttpFlags GetHttpFlags(TestContext ctx)
        {
            HttpFlags flags = httpFlags;

            bool reuseConnection;

            if (ctx.TryGetParameter <bool> (out reuseConnection, "ReuseConnection") && reuseConnection)
            {
                flags |= HttpFlags.ReuseConnection;
            }

            return(flags);
        }
Пример #2
0
 public HttpBackendAttribute(HttpFlags httpFlags = HttpFlags.None)
     : base(typeof(HttpBackendAttribute), TestFlags.Hidden)
 {
     this.httpFlags = httpFlags;
 }