LogEventData.Create<T> Method (T) |
Creates a new LogEventData and uses the default LogEventMetadata for the build-time type of the specified object.
This overload is faster than the non-generic one.
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 static LogEventData Create<T>( T data )
Parameters
- data
- Type: T
The raw CLR object, typically an instance of anonymous type or any other type.
Type Parameters
- T