C# Class Arc.Infrastructure.Utilities.Expressions.MemberFinder

Finds member path from expression.
Datei anzeigen Open project: marektihkan/Arc

Public Methods

Method Description
BuildMemberName ( MemberExpression memberExpression ) : string

Builds the name of the member.

FindFromExpression ( Expression expression ) : string

Finds member path from expression.

FindMemberExpression ( Expression expression ) : MemberExpression

Finds the member expression from expression.

IsPropertyExpression ( Expression expression ) : bool

Determines whether the specified expression is property expression.

Private Methods

Method Description
FindFromUnaryExpression ( UnaryExpression expression ) : MemberExpression
IsCapsulatedProperty ( Expression expression ) : bool
IsProperty ( Expression expression ) : bool

Method Details

BuildMemberName() public static method

Builds the name of the member.
public static BuildMemberName ( MemberExpression memberExpression ) : string
memberExpression System.Linq.Expressions.MemberExpression The member expression.
return string

FindFromExpression() public static method

Finds member path from expression.
public static FindFromExpression ( Expression expression ) : string
expression System.Linq.Expressions.Expression The expression.
return string

FindMemberExpression() public static method

Finds the member expression from expression.
public static FindMemberExpression ( Expression expression ) : MemberExpression
expression System.Linq.Expressions.Expression The expression.
return System.Linq.Expressions.MemberExpression

IsPropertyExpression() public static method

Determines whether the specified expression is property expression.
public static IsPropertyExpression ( Expression expression ) : bool
expression System.Linq.Expressions.Expression The expression.
return bool