Class TwoArgumentReduction
A reduction with two arguments.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Redis.OM.Aggregation.AggregationPredicates
Assembly: Redis.OM.dll
Syntax
public class TwoArgumentReduction : Reduction, IAggregationPredicate
Constructors
| Improve this Doc View SourceTwoArgumentReduction(ReduceFunction, MethodCallExpression)
Initializes a new instance of the TwoArgumentReduction class.
Declaration
public TwoArgumentReduction(ReduceFunction func, MethodCallExpression expression)
Parameters
Type | Name | Description |
---|---|---|
ReduceFunction | func | The reduction function. |
System.Linq.Expressions.MethodCallExpression | expression | The expression. |
Properties
| Improve this Doc View SourceResultName
Gets the name of the result.
Declaration
public override string ResultName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceSerialize()
Sends the reduction to an array of strings for redis.
Declaration
public override IEnumerable<string> Serialize()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | an array of strings. |