AspNetHttpContextItemLayoutRenderer Properties |
The AspNetHttpContextItemLayoutRenderer type exposes the following members.
| Name | Description | |
|---|---|---|
| Culture |
Gets or sets the culture used for rendering.
| |
| Format |
Format string for conversion from object to string.
| |
| HttpContextAccessor |
Provides access to the current request HttpContext.
(Inherited from AspNetLayoutRendererBase.) | |
| Item |
Gets or sets the item variable name.
| |
| LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from LayoutRenderer.) | |
| ObjectPath |
Gets or sets the object-property-navigation-path for lookup of nested property.
In this case the Item should have have any dot notation, as the nested properties path is in this variable
Example:
Item="person";
ObjectPath="Name.First"
This will emit the First Name property of the object in HttpContext.Items woith the key of 'person' in the collection
| |
| ValueFormatter |
Value formatter
(Inherited from LayoutRenderer.) | |
| Variable | Obsolete.
Gets or sets the item variable name.
|