LogRecordBuilder.ForEachProperty Method (LoggingPropertyVisitor<Object>) |
Note: This API is now obsolete.
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.10.14.0 (6.10.14.0)
C#
[ObsoleteAttribute("Use VisitProperties")] 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.