// Methods public HttpResponseWrapper(HttpResponseBase httpResponse, AbstractSparkView view) { if (httpResponse == null) { throw new ArgumentNullException("httpResponse"); } _httpResponse = httpResponse; _view = view; }
// 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; }
public SparkTemplate(AbstractSparkView sparkView) { _sparkView = sparkView; }