PostSharpAPI ReferencePost­Sharp.​Patterns.​UtilitiesIUnknown­Object­Property­Visitor<TState>Must­Visit
Open sandboxFocus

IUnknownObjectPropertyVisitor<TState>.MustVisit Method

MustVisit(String, ref TState)

Determines if a given property must be visited. If this method returns true, the property is not evaluated.

Declaration
bool MustVisit(string name, ref TState state)
Parameters
Type Name Description
System.String name

Property name.

TState state

The opaque state passed to VisitProperties<TState>(IUnknownObjectPropertyVisitor<TState>, ref TState).

Returns
Type Description
Boolean