Beispiel #1
0
 // Methods
 public HttpResponseWrapper(HttpResponseBase httpResponse, AbstractSparkView view)
 {
     if (httpResponse == null)
     {
         throw new ArgumentNullException("httpResponse");
     }
     _httpResponse = httpResponse;
     _view = view;
 }
Beispiel #2
0
 // Methods
 public HttpContextWrapper(HttpContextBase httpContext, AbstractSparkView view)
 {
     if (httpContext == null)
     {
         throw new ArgumentNullException("httpContext");
     }
     if (view == null)
     {
         throw new ArgumentNullException("view");
     }
     _context = httpContext;
     _view = view;
 }
Beispiel #3
0
 public SparkTemplate(AbstractSparkView sparkView)
 {
     _sparkView = sparkView;
 }