PostSharpAPI ReferencePost­Sharp.​Patterns.​UtilitiesUnknown­Object­AccessorVisit­Properties
Open sandboxFocus

UnknownObjectAccessor.VisitProperties Method

VisitProperties<TState>(IUnknownObjectPropertyVisitor<TState>, ref TState)

Invokes the Visit<TValue>(String, TValue, ref TState) method of a given visitor for each property of the current UnknownObjectAccessor.

Declaration
public void VisitProperties<TState>(IUnknownObjectPropertyVisitor<TState> visitor, ref TState state)
Parameters
Type Name Description
IUnknownObjectPropertyVisitor<TState> visitor

The visitor.

TState state

The opaque state passed to the Visit<TValue>(String, TValue, ref TState) method.

Type Parameters
Name Description
TState

The type of the opaque state passed to the Visit<TValue>(String, TValue, ref TState) method.