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: 2023.0.3.0 (2023.0.3.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.