ForEachProperty(LoggingPropertyVisitor<object>)
Invokes a delegate for each property defined in the current log record.
Declaration
[Obsolete("Use VisitProperties")]
public void ForEachProperty(LoggingPropertyVisitor<object> visitor)Parameters
| Type | Name | Description |
|---|---|---|
| LoggingPropertyVisitor<object> | visitor | The delegate to invoke. The |
ForEachProperty<T>(LoggingPropertyVisitor<T>, ref T)
Invokes a delegate for each property defined in the current log record.
Declaration
public void ForEachProperty<T>(LoggingPropertyVisitor<T> visitor, ref T state)Parameters
| Type | Name | Description |
|---|---|---|
| LoggingPropertyVisitor<T> | visitor | The delegate to invoke. The |
| T | state | Some state that will be passed to the |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the state passed to the |