PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­Core Namespace / Asp­Net­Core­Request­Metadata(T) Class / Asp­Net­Core­Request­Metadata(T) Methods / Asp­Net­Core­Request­Metadata(T).​Has­Inherited­Property Method / Asp­Net­Core­Request­Metadata(T).​Has­Inherited­Property Method (Http­Context)

AspNetCoreRequestMetadata<T>.HasInheritedProperty Method (HttpContext)

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

Namespace:  PostSharp.Patterns.Diagnostics.Adapters.AspNetCore
Assembly:  PostSharp.Patterns.Diagnostics.Adapters.AspNetCore (in PostSharp.Patterns.Diagnostics.Adapters.AspNetCore.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
protected virtual bool HasInheritedProperty(
	HttpContext httpContext
)

Parameters

httpContext
Type: HttpContext

Return Value

Type: Boolean
See Also