public ContentRendererInterceptor(IContentRenderer defaultRenderer, IHtmlCache htmlCache, ServiceAccessor <IContentRouteHelper> contentRouteHelperAccessor, IRenderingContextResolver contextResolver)
 {
     _defaultRenderer            = defaultRenderer;
     _htmlCache                  = htmlCache;
     _contentRouteHelperAccessor = contentRouteHelperAccessor;
     _contextResolver            = contextResolver;
 }
 public PropertyRendererInterceptor(PropertyRenderer defaultRenderer, IContextModeResolver contextModeResolver, IHtmlCache htmlCache, TemplateResolver templateResolver, CachingViewEnginesWrapper viewResolver)
 {
     _defaultRenderer     = defaultRenderer;
     _contextModeResolver = contextModeResolver;
     _htmlCache           = htmlCache;
     _templateResolver    = templateResolver;
     _viewResolver        = viewResolver;
 }
 public HtmlActionFilterProvider(IHtmlCache htmlCache, ServiceAccessor <IContentRouteHelper> contentRouteHelperAccessor)
 {
     _htmlCache = htmlCache;
     _contentRouteHelperAccessor = contentRouteHelperAccessor;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HTMLPage"/> class.
 /// </summary>
 public HTMLPage()
 {
     _cache = GlobalServiceProvider.Get <IHtmlCache>();
 }
Exemplo n.º 5
0
 public OutputProcessorStream(Stream stream, IRenderingContext context, IHtmlCache htmlCache)
 {
     _stream    = stream;
     _context   = context;
     _htmlCache = htmlCache;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HTMLPage"/> class.
 /// </summary>
 public HTMLPage()
 {
   _cache = GlobalServiceProvider.Get<IHtmlCache>();
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HTMLPage"/> class.
 /// </summary>
 public HTMLPage()
 {
     _cache = GlobalServiceProvider.Instance.TryGet <IHtmlCache>();
 }
Exemplo n.º 8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="HTMLPage"/> class.
 /// </summary>
 public HTMLPage()
 {
   _cache = GlobalServiceProvider.Instance.TryGet<IHtmlCache>();
 }