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 (Object)

AspNetCoreRequestMetadata<T>.HasInheritedProperty Method (Object)

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

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#
public override sealed bool HasInheritedProperty(
	Object data
)

Parameters

data
Type: System.Object
The raw CLR object, typically LogEventData.Data

Return Value

Type: Boolean
See Also