コード例 #1
0
 public HttpContextStub(string dummyRequestPath, string pathInfo, string method)
 {
     if (dummyRequestPath != null)
     {
         req        = new HttpRequestStub(dummyRequestPath, pathInfo);
         req.Method = method;
     }
 }
コード例 #2
0
ファイル: TestStubTypes.cs プロジェクト: nobled/mono
		public HttpContextStub (string dummyRequestPath, string pathInfo, string method)
		{
			if (dummyRequestPath != null) {
				req = new HttpRequestStub (dummyRequestPath, pathInfo);
				req.Method = method;
			}
		}