PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­FrameworkAsp­Net­Framework­Request­Metadata<T>Has­Inherited­Property
Open sandboxFocus

AspNetFrameworkRequestMetadata<T>.HasInheritedProperty Method

HasInheritedProperty(Object)

Determines if the current LogEventMetadata contains any inherited property. The implementation of this method must not allocate heap memory.

Declaration
public sealed override bool HasInheritedProperty(object data)
Parameters
Type Name Description
Object data

The raw CLR object, typically Data

Returns
Type Description
Boolean
Overrides
LogEventMetadata.HasInheritedProperty(Object)

HasInheritedProperty(HttpContext)

Determines if a given System.Web.HttpContext defines inherited properties. The default implementation returns true if the request has a Correlation-Context header.

Declaration
protected virtual bool HasInheritedProperty(HttpContext httpContext)
Parameters
Type Name Description
System.Web.HttpContext httpContext
Returns
Type Description
Boolean