C# Class ExpressionToCodeLib.Internal.StringifiedExpression

Mostrar archivo Open project: EamonNerbonne/ExpressionToCode Class Usage Examples

Public Properties

Property Type Description
IsConceptualChild bool
OptionalValue System.Linq.Expressions.Expression
Text string

Public Methods

Method Description
MarkAsConceptualChild ( ) : StringifiedExpression

Private Methods

Method Description
StringifiedExpression ( string text, StringifiedExpression children, Expression optionalValue, bool isConceptualChild ) : System
TextAndExpr ( string text, Expression expr ) : StringifiedExpression
TextOnly ( string text ) : StringifiedExpression
ToString ( ) : string
WithChildren ( StringifiedExpression children ) : StringifiedExpression

Method Details

MarkAsConceptualChild() public method

public MarkAsConceptualChild ( ) : StringifiedExpression
return StringifiedExpression

Property Details

IsConceptualChild public_oe property

The expression tree contains many symbols that are not themselves "real" expressions, e.g. the "." in "obj.field". This field is true for parts that aren't just implemenation details, but proper sub-expressions; e.g. the "x" in "x && y"
public bool IsConceptualChild
return bool

OptionalValue public_oe property

public Expression,System.Linq.Expressions OptionalValue
return System.Linq.Expressions.Expression

Text public_oe property

public string Text
return string