Click or drag to resize

AspNetItemValueLayoutRendererObjectPath Property

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

Namespace:  NLog.Web.LayoutRenderers
Assemblies:   NLog.Web.AspNetCore (in NLog.Web.AspNetCore.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
  NLog.Web (in NLog.Web.dll) Version: 5.3.13+628b0876960af3ee3454c99b7985dbb5e1c46bf0
Syntax
public string ObjectPath { get; set; }

Property Value

Type: String
See Also