Class ExpressionExtensions
Provides a set of extension methods for System.Linq.Expressions.Expression.
Inheritance
System.Object
ExpressionExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Relativity.Testing.Framework.Extensions
Assembly: Relativity.Testing.Framework.dll
Syntax
public static class ExpressionExtensions
Methods
| Improve this Doc View SourceExtractMember(Expression)
Extracts the member.
Declaration
public static MemberInfo ExtractMember(this Expression expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expression | The expression. |
Returns
Type | Description |
---|---|
System.Reflection.MemberInfo | The member information. |
ExtractMemberName(Expression)
Extracts the name of the member.
Declaration
public static string ExtractMemberName(this Expression expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expression | The expression. |
Returns
Type | Description |
---|---|
System.String | The name of the member. |