Files
spark/src/DataStreamSuite/DataStreamExpressions/Argument.cs
T
John Colvin 248e37577f feat: Add DataStreamExpressions
All lex/yacc scanners/parsers are now generated with a proper dotnet
nuget pkg, YaccLexTools.

* Implements BooleanExpressionFilter with the new Parser.
2023-09-29 13:10:49 -04:00

33 lines
1.0 KiB
C#

namespace Bts.DataStreamExpressions;
public class Argument {
public Argument() { }
public Argument(string str) => String = str;
public Argument(bool? boolean) => Boolean = boolean;
public Argument(int? integer) => Integer = integer;
public Argument(double? real) => Real = real;
public Argument(DateTime? dateTime) => DateTime = dateTime;
public Argument(DBNull? @null) => Null = @null;
public Argument(StatementExpression? statementExp) => StatementExp = statementExp;
public Argument(QuotedView? quotedView) => QuotedView = quotedView;
public string? String { get; }
public bool? Boolean { get; }
public int? Integer { get; }
public double? Real { get; }
public DateTime? DateTime { get; }
public DBNull? Null { get; }
public StatementExpression? StatementExp { get; }
public QuotedView? QuotedView { get; }
public object? Obj =>
String ??
Boolean ??
Integer ??
Real ??
DateTime ??
Null ??
(object?)StatementExp ??
QuotedView;
}