Пример #1
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);
 }
Пример #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);
 }