AuditRecordBuilder.SetThis<T> Method (T, IFormatter<T>) |
Sets the this (instance) value and uses a given formatter.
Namespace: PostSharp.Patterns.Diagnostics.Backends.Audit
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public override void SetThis<T>( T value, IFormatter<T> formatter )
Parameters
- value
- Type: T
The value of the this instance. - formatter
- Type: PostSharp.Patterns.Formatters.IFormatter<T>
The formatter to be used.
Type Parameters
- T
- Type of the class being logged.