PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Log­Record­Builder Class/Log­Record­Builder Methods/Log­Record­Builder.​For­Each­Property Method/Log­Record­Builder.​For­Each­Property Method (Logging­Property­Visitor(Object))

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.1.23.0 (6.1.23.0)
Syntax
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.
See Also