works well :)

This commit is contained in:
David Lebée
2018-04-11 22:18:10 -05:00
parent 20da18bbdf
commit 271fca885f
6 changed files with 20 additions and 76 deletions
@@ -11,6 +11,7 @@ namespace PoweredSoft.DynamicLinq.Parser
public ParameterExpression Parameter { get; protected set; }
public string Path { get; set; }
public List<ExpressionParserPiece> Pieces { get; set; } = new List<ExpressionParserPiece>();
public bool IsParsed => Pieces?.Count > 0;
public ExpressionParser(Type type, string path) : this(Expression.Parameter(type), path)
{
@@ -14,11 +14,6 @@ namespace PoweredSoft.DynamicLinq.Parser
#if DEBUG
public override string ToString() => $"{Parameter?.ToString()} is {Parameter?.Type} | {(Pieces == null ? "" : string.Join(" -> ", Pieces.Select(t2 => t2.ToString())))}";
public object CompileSimpleExpress(SelectNullHandling nullHandling)
{
throw new NotImplementedException();
}
#endif
}
}