Class VisitorAttribute
Attribute to annotate constructors, methods, properties, and fields with a visitor type that will be used to process expression trees referring to those reflection members.
Inheritance
System.Object
VisitorAttribute
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public sealed class VisitorAttribute : Attribute
Constructors
VisitorAttribute(Type)
Creates a new visitor attribute referring to the specified visitor type.
Declaration
public VisitorAttribute(Type visitorType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Type | visitorType | Type of the visitor that will process expression nodes that use the reflection member the attribute is applied to. |
Properties
VisitorType
Gets the type of the visitor that will process expression nodes that use the reflection member the attribute is applied to.
Declaration
public Type VisitorType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |