PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / Log­Event­Metadata Class / Log­Event­Metadata Methods / Log­Event­Metadata.​Has­Inherited­Property Method

LogEventMetadata.HasInheritedProperty Method

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

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.1.0 (6.9.1.0)
Syntax
C#
public virtual bool HasInheritedProperty(
	Object data
)

Parameters

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

Return Value

Type: Boolean
See Also