C# Class ExpressionToCodeLib.Internal.ObjectToCodeImpl

显示文件 Open project: EamonNerbonne/ExpressionToCode Class Usage Examples

Public Methods

Method Description
ComplexObjectToPseudoCode ( ExpressionToCodeConfiguration config, object val, int indent ) : string
ExpressionValueAsCode ( ExpressionToCodeConfiguration config, Expression expression ) : string

Private Methods

Method Description
FormatEnumerable ( ExpressionToCodeConfiguration config, IEnumerable list, int indent ) : string
PrintListContents ( ExpressionToCodeConfiguration config, IEnumerable list, int indent ) : IEnumerable

Method Details

ComplexObjectToPseudoCode() public static method

public static ComplexObjectToPseudoCode ( ExpressionToCodeConfiguration config, object val, int indent ) : string
config ExpressionToCodeConfiguration
val object
indent int
return string

ExpressionValueAsCode() public static method

public static ExpressionValueAsCode ( ExpressionToCodeConfiguration config, Expression expression ) : string
config ExpressionToCodeConfiguration
expression System.Linq.Expressions.Expression
return string