Class UseSitecoreRenderingAttribute

Injects middleware to support the Sitecore Rendering logic.

Inheritance

System.Object

UseSitecoreRenderingAttribute

Namespace: Sitecore.AspNet.RenderingEngine.Filters

Assembly: Sitecore.AspNet.RenderingEngine.dll

Syntax
public class UseSitecoreRenderingAttribute : MiddlewareFilterAttribute

Constructors

UseSitecoreRenderingAttribute()

Initializes a new instance of the UseSitecoreRenderingAttribute class.

Declaration
public UseSitecoreRenderingAttribute()

UseSitecoreRenderingAttribute(Type)

Initializes a new instance of the UseSitecoreRenderingAttribute class.

Declaration
public UseSitecoreRenderingAttribute(Type configurationType)
Parameters
TypeNameDescription
System.TypeconfigurationTypeThe type which configures the middlware for the request.
If you have suggestions for improving this article, let us know!