示例#1
0
 public HttpContextStub(string dummyRequestPath, string pathInfo, string method)
 {
     if (dummyRequestPath != null)
     {
         req        = new HttpRequestStub(dummyRequestPath, pathInfo);
         req.Method = method;
     }
 }
示例#2
0
		public HttpContextStub (string dummyRequestPath, string pathInfo, string method)
		{
			if (dummyRequestPath != null) {
				req = new HttpRequestStub (dummyRequestPath, pathInfo);
				req.Method = method;
			}
		}