A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Interface IMvcFragmentRenderer

Renders a fragment data in an MVC context.

Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
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
System.Web.Mvc.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