Class UseSitecoreRenderingAttribute
Version: 21.x
Injects middleware to support the Sitecore Rendering logic.
Inheritance
System.Object
UseSitecoreRenderingAttribute
Namespace: Sitecore.AspNet.RenderingEngine.Filters
Assembly: Sitecore.AspNet.RenderingEngine.dll
Syntax
RequestResponse
public class UseSitecoreRenderingAttribute : MiddlewareFilterAttributeConstructors
UseSitecoreRenderingAttribute()
Initializes a new instance of the UseSitecoreRenderingAttribute class.
Declaration
RequestResponse
public UseSitecoreRenderingAttribute()UseSitecoreRenderingAttribute(Type)
Initializes a new instance of the UseSitecoreRenderingAttribute class.
Declaration
RequestResponse
public UseSitecoreRenderingAttribute(Type configurationType)Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | configurationType |
The type which configures the middlware for the request. |