PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Logging­Context Class/Logging­Context Methods/Logging­Context.​For­Each­Property Method/Logging­Context.​For­Each­Property(T) Method (Logging­Property­Visitor(T), T, Boolean)

LoggingContext.ForEachProperty<T> Method (LoggingPropertyVisitor<T>, T, Boolean)

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public void ForEachProperty<T>(
	LoggingPropertyVisitor<T> visitor,
	ref T state,
	bool includeAncestors = true
)

Parameters

visitor
Type: PostSharp.Patterns.Diagnostics.Contexts.LoggingPropertyVisitor<T>
state
Type: T
includeAncestors (Optional)
Type: System.Boolean

Type Parameters

T

Implements

ILoggingContext.ForEachProperty<T>(LoggingPropertyVisitor<T>, T, Boolean)
See Also