ExpressionMixins Class

Summary

Extension methods associated with the Expression class.
Namespace
ReactiveUI
Base Types
  • object
graph BT Type-->Base0["object"] Type["ExpressionMixins"] class Type type-node

Syntax

public static class ExpressionMixins

Methods

Name Value Summary
GetArgumentsArray(Expression) object[]
For a Expression which is a Index type, will get all the arguments passed to the indexer. Useful for when you are attempting to find the indexer when a constant value is passed in.
static
GetExpressionChain(Expression) IEnumerable<Expression>
Gets all the chain of child expressions within a Expression. Handles property member accesses, objects and indexes.
static
GetMemberInfo(Expression) MemberInfo
Gets the MemberInfo where a Expression is pointing towards. Can handle MemberAccess and Index types and will handle going through the Conversion Expressions.
static
GetParent(Expression) Expression
Gets the parent Expression of the current Expression object.
static