LogRecordBuilder.ForEachProperty Method (LoggingPropertyVisitor<Object>) |
Invokes a delegate for each property defined in the current log record.
Namespace: PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly: PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.6.14.0 (6.6.14.0)
C#
public void ForEachProperty( LoggingPropertyVisitor<Object> visitor )
Parameters
- visitor
- Type: PostSharp.Patterns.Diagnostics.Contexts.LoggingPropertyVisitor<Object>
The delegate to invoke. The state parameter of the delegate will be assigned to a dummy variable.