PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Utilities Namespace / Unknown­Object­Accessor Structure / Unknown­Object­Accessor Methods / Unknown­Object­Accessor.​Visit­Properties(TState) Method

UnknownObjectAccessor.VisitProperties<TState> Method

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

Namespace:  PostSharp.Patterns.Utilities
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
public void VisitProperties<TState>(
	IUnknownObjectPropertyVisitor<TState> visitor,
	ref TState state
)

Parameters

visitor
Type: PostSharp.Patterns.Utilities.IUnknownObjectPropertyVisitor<TState>
The visitor.
state
Type: TState
The opaque state passed to the Visit<TValue>(String, TValue, TState) method.

Type Parameters

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