Inheritance: IResponse
コード例 #1
0
ファイル: AleContext.cs プロジェクト: blesh/ALE
 public AleContext(HttpContext innerContext)
 {
     if (innerContext == null) throw new ArgumentNullException("innerContext");
     InnerContext = innerContext;
     Response = new AleResponse(innerContext.Response, this);
     Request = new AleRequest(innerContext.Request, this);
 }
コード例 #2
0
 public AleContext(HttpContext innerContext)
 {
     if (innerContext == null)
     {
         throw new ArgumentNullException("innerContext");
     }
     InnerContext = innerContext;
     Response     = new AleResponse(innerContext.Response, this);
     Request      = new AleRequest(innerContext.Request, this);
 }