Show / Hide Table of Contents

Class MemberInfoSlimVisitor

Visitor for lightweight representations of members.

Inheritance
System.Object
MemberInfoSlimVisitor
Namespace: System.Reflection
Assembly: Nuqleon.Linq.Expressions.Bonsai.dll
Syntax
public class MemberInfoSlimVisitor : Object

Constructors

MemberInfoSlimVisitor()

Declaration
public MemberInfoSlimVisitor()

Methods

Visit(MemberInfoSlim)

Visits the specified member.

Declaration
public MemberInfoSlim Visit(MemberInfoSlim member)
Parameters
Type Name Description
MemberInfoSlim member

Member to visit.

Returns
Type Description
MemberInfoSlim

Result of the visit.

VisitAndConvert<T>(T)

Visits and converts a member.

Declaration
public T VisitAndConvert<T>(T member)
    where T : MemberInfoSlim
Parameters
Type Name Description
T member

Member to visit.

Returns
Type Description
T

Result of visiting and converting the member.

Type Parameters
Name Description
T

Type representing the kind of member to convert to.

VisitConstructor(ConstructorInfoSlim)

Visits a constructor.

Declaration
protected virtual MemberInfoSlim VisitConstructor(ConstructorInfoSlim constructor)
Parameters
Type Name Description
ConstructorInfoSlim constructor

Constructor to visit.

Returns
Type Description
MemberInfoSlim

Result of the visit.

VisitField(FieldInfoSlim)

Visits a field.

Declaration
protected virtual MemberInfoSlim VisitField(FieldInfoSlim field)
Parameters
Type Name Description
FieldInfoSlim field

Field to visit.

Returns
Type Description
MemberInfoSlim

Result of the visit.

VisitGenericDefinitionMethod(GenericDefinitionMethodInfoSlim)

Visits a generic method definition.

Declaration
protected virtual MemberInfoSlim VisitGenericDefinitionMethod(GenericDefinitionMethodInfoSlim method)
Parameters
Type Name Description
GenericDefinitionMethodInfoSlim method

Method to visit.

Returns
Type Description
MemberInfoSlim

Result of the visit.

VisitGenericMethod(GenericMethodInfoSlim)

Visits a generic method.

Declaration
protected virtual MemberInfoSlim VisitGenericMethod(GenericMethodInfoSlim method)
Parameters
Type Name Description
GenericMethodInfoSlim method

Method to visit.

Returns
Type Description
MemberInfoSlim

Result of the visit.

VisitMethod(MethodInfoSlim)

Visits a method.

Declaration
protected virtual MemberInfoSlim VisitMethod(MethodInfoSlim method)
Parameters
Type Name Description
MethodInfoSlim method

Method to visit.

Returns
Type Description
MemberInfoSlim

Result of the visit.

VisitProperty(PropertyInfoSlim)

Visits a property.

Declaration
protected virtual MemberInfoSlim VisitProperty(PropertyInfoSlim property)
Parameters
Type Name Description
PropertyInfoSlim property

Property to visit.

Returns
Type Description
MemberInfoSlim

Result of the visit.

VisitSimpleMethod(SimpleMethodInfoSlim)

Visits a simple method.

Declaration
protected virtual MemberInfoSlim VisitSimpleMethod(SimpleMethodInfoSlim method)
Parameters
Type Name Description
SimpleMethodInfoSlim method

Method to visit.

Returns
Type Description
MemberInfoSlim

Result of the visit.

In This Article
Back to top Generated by DocFX