public SelectorLambdaDescriptor(IExpressionDescriptor selector, Type sourceElementType, Type bodyType, string parameterName)
 {
     Selector          = selector;
     SourceElementType = sourceElementType;
     BodyType          = bodyType;
     ParameterName     = parameterName;
 }
 private SelectorLambdaDescriptor GetExpressionDescriptor <T, TResult>(IExpressionDescriptor selectorBody, string parameterName = "$it")
 => new SelectorLambdaDescriptor
 {
     Selector          = selectorBody,
     SourceElementType = typeof(T),
     ParameterName     = parameterName,
     BodyType          = typeof(TResult)
 };
Exemple #3
0
 public DistinctDescriptor(IExpressionDescriptor sourceOperand)
 {
     SourceOperand = sourceOperand;
 }
 public EqualsBinaryDescriptor(IExpressionDescriptor left, IExpressionDescriptor right) : base(left, right)
 {
 }
Exemple #5
0
 public LastDescriptor(IExpressionDescriptor sourceOperand, IExpressionDescriptor filterBody, string filterParameterName) : base(sourceOperand, filterBody, filterParameterName)
 {
 }
 public NegateDescriptor(IExpressionDescriptor operand)
 {
     Operand = operand;
 }
 public ConvertToNumericTimeDescriptor(IExpressionDescriptor sourceOperand)
 {
     SourceOperand = sourceOperand;
 }
 public SelectorMethodDescriptorBase(IExpressionDescriptor sourceOperand, IExpressionDescriptor selectorBody, string selectorParameterName)
 {
     SourceOperand         = sourceOperand;
     SelectorBody          = selectorBody;
     SelectorParameterName = selectorParameterName;
 }
 public RoundDescriptor(IExpressionDescriptor operand)
 {
     Operand = operand;
 }
 public ToUpperDescriptor(IExpressionDescriptor operand)
 {
     Operand = operand;
 }
 public OrderByDescriptor(IExpressionDescriptor sourceOperand, IExpressionDescriptor selectorBody, ListSortDirection sortDirection, string selectorParameterName) : base(sourceOperand, selectorBody, selectorParameterName)
 {
     SortDirection = sortDirection;
 }
Exemple #12
0
 public CastDescriptor(IExpressionDescriptor operand, Type type)
 {
     Operand = operand;
     Type    = type;
 }
 public SubstringDescriptor(IExpressionDescriptor sourceOperand, params IExpressionDescriptor[] indexes)
 {
     SourceOperand = sourceOperand;
     Indexes       = indexes;
 }
Exemple #14
0
 public AsEnumerableDescriptor(IExpressionDescriptor sourceOperand)
 {
     SourceOperand = sourceOperand;
 }
 public AverageDescriptor(IExpressionDescriptor sourceOperand) : base(sourceOperand)
 {
 }
Exemple #16
0
 public HasDescriptor(IExpressionDescriptor left, IExpressionDescriptor right)
 {
     Left  = left;
     Right = right;
 }
Exemple #17
0
 public ConvertDescriptor(IExpressionDescriptor sourceOperand, Type type)
 {
     SourceOperand = sourceOperand;
     Type          = type;
 }
 public SkipDescriptor(IExpressionDescriptor sourceOperand, int count)
 {
     SourceOperand = sourceOperand;
     Count         = count;
 }
 public MemberSelectorDescriptor(string memberFullName, IExpressionDescriptor sourceOperand)
 {
     MemberFullName = memberFullName;
     SourceOperand  = sourceOperand;
 }
 public EndsWithDescriptor(IExpressionDescriptor left, IExpressionDescriptor right)
 {
     Left  = left;
     Right = right;
 }
 public SelectorMethodDescriptorBase(IExpressionDescriptor sourceOperand)
 {
     SourceOperand = sourceOperand;
 }
Exemple #22
0
 public DivideBinaryDescriptor(IExpressionDescriptor left, IExpressionDescriptor right) : base(left, right)
 {
 }
Exemple #23
0
 public GreaterThanBinaryDescriptor(IExpressionDescriptor left, IExpressionDescriptor right) : base(left, right)
 {
 }
Exemple #24
0
 public SingleOrDefaultDescriptor(IExpressionDescriptor sourceOperand) : base(sourceOperand)
 {
 }
Exemple #25
0
 public LastDescriptor(IExpressionDescriptor sourceOperand) : base(sourceOperand)
 {
 }
Exemple #26
0
 public YearDescriptor(IExpressionDescriptor operand)
 {
     Operand = operand;
 }
Exemple #27
0
 public MonthDescriptor(IExpressionDescriptor operand)
 {
     Operand = operand;
 }
Exemple #28
0
 public TotalOffsetMinutesDescriptor(IExpressionDescriptor operand)
 {
     Operand = operand;
 }
Exemple #29
0
 public TrimDescriptor(IExpressionDescriptor operand)
 {
     Operand = operand;
 }
 public SelectDescriptor(IExpressionDescriptor sourceOperand, IExpressionDescriptor selectorBody, string selectorParameterName) : base(sourceOperand, selectorBody, selectorParameterName)
 {
 }