Show / Hide Table of Contents

Class ExpressionEx

Class containing some extension methods for System.Linq.Expressions.Expression.

Inheritance
System.Object
ExpressionEx
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:Extend
Assembly:Extend.dll
Syntax
public static class ExpressionEx

Methods

| Improve this Doc View Source

TryGetMemberExpression(Expression, out MemberExpression)

Tries to get a System.Linq.Expressions.MemberExpression from the given expression.

Declaration
public static bool TryGetMemberExpression(this Expression expression, out MemberExpression memberExpression)
Parameters
Type Name Description
System.Linq.Expressions.Expression expression

The expression.

System.Linq.Expressions.MemberExpression memberExpression

The extracted System.Linq.Expressions.MemberExpression.

Returns
Type Description
System.Boolean

Returns true if a System.Linq.Expressions.MemberExpression could be extracted; otherwise, false.

Exceptions
Type Condition
System.ArgumentNullException

expression can not be null.

  • Improve this Doc
  • View Source
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX