PostSharp6.7//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace/Logging­Context Class/Logging­Context Methods/Logging­Context.​For­Each­Property Method

LoggingContext.ForEachProperty Method

Overload List
  NameDescription
Public methodForEachProperty(LoggingPropertyVisitor<Object>, Boolean)
Invokes a delegate for each property defined in the current logging context and optionally in its ancestor contexts.
Public methodForEachProperty<T>(LoggingPropertyVisitor<T>, T, Boolean)
Invokes a delegate for each property defined in the current logging context and optionally in its ancestor contexts, and specifies passes a state object to the delegate.
See Also