PostSharp 6.9 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Utilities Namespace / IUnknown­Object­Property­Visitor(TState) Interface / IUnknown­Object­Property­Visitor(TState) Methods / IUnknown­Object­Property­Visitor(TState).​Must­Visit Method

IUnknownObjectPropertyVisitor<TState>.MustVisit Method

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

Namespace:  PostSharp.Patterns.Utilities
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.9.11.0 (6.9.11.0)
Syntax
C#
bool MustVisit(
	string name,
	ref TState state
)

Parameters

name
Type: System.String
Property name.
state
Type: TState
The opaque state passed to VisitProperties<TState>(IUnknownObjectPropertyVisitor<TState>, TState).

Return Value

Type: Boolean
See Also