LogEventMetadata<TExpressionModel> Class |
A specialization of LogEventMetadata that specifies the type of the
expression model type, i.e. the type exposed to transaction policy expressions.
System.Object
PostSharp.Patterns.Diagnostics.Custom.LogEventMetadata
PostSharp.Patterns.Diagnostics.Custom.LogEventMetadata<TExpressionModel>
PostSharp.Patterns.Diagnostics.Adapters.AspNetCore.AspNetCoreRequestMetadata<T>
PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework.AspNetFrameworkRequestMetadata<T>
PostSharp.Patterns.Diagnostics.Custom.LogEventMetadata
PostSharp.Patterns.Diagnostics.Custom.LogEventMetadata<TExpressionModel>
PostSharp.Patterns.Diagnostics.Adapters.AspNetCore.AspNetCoreRequestMetadata<T>
PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework.AspNetFrameworkRequestMetadata<T>
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public abstract class LogEventMetadata<TExpressionModel> : LogEventMetadata
Type Parameters
- TExpressionModel
- The type of the expression model type, i.e. the type exposed to transaction policy expressions
The LogEventMetadata<TExpressionModel> type exposes the following members.
Name | Description | |
---|---|---|
LogEventMetadata<TExpressionModel> |
Initializes a new LogEventMetadata.
|
Name | Description | |
---|---|---|
Name |
Gets the name of the current LogEventMetadata. This property may be undefined. It must be defined
when the LogEventData must be available for evaluation from transaction policy expressions. In this case,
the type of expression model (i.e. the generic parameter of LogEventMetadata<TExpressionModel>) must be identical for identical
values of the Name property.
(Inherited from LogEventMetadata.) |
Name | Description | |
---|---|---|
GetExpressionModel |
Gets the object that must be exposed to the expressions in transaction policies.
| |
GetPropertyOptions |
Gets the options of a given property.
(Inherited from LogEventMetadata.) | |
HasInheritedProperty |
Determines if the current LogEventMetadata contains any inherited property. The implementation of this method must not allocate heap memory.
(Inherited from LogEventMetadata.) | |
VisitProperties<TVisitorState> |
Invokes an action for each property in the raw CLR object of a LogEventData.
(Inherited from LogEventMetadata.) |