London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Interface IMvcFragmentRenderer

Renders a fragment data in an MVC context.

Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNetCore.HtmlHelpers.dll
Version: 12.0.3
Syntax
public interface IMvcFragmentRenderer

Methods

Render(ViewContext, TextWriter)

Renders the given fragment to the designated writer.

Declaration
void Render(ViewContext context, TextWriter writer)
Parameters
Type Name Description
Microsoft.AspNetCore.Mvc.Rendering.ViewContext context

The view context in which the fragment is being rendered.

System.IO.TextWriter writer

The writer to which to write the fragment.

Extension Methods