Class Apply
A predicate building a function to apply to items in the aggregation pipeline.
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 Apply : IAggregationPredicate
Constructors
| Improve this Doc View SourceApply(Expression, String)
Initializes a new instance of the Apply class.
Declaration
public Apply(Expression expression, string alias)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression | expression | the expression. |
System.String | alias | The alias. |
Properties
| Improve this Doc View SourceAlias
Gets or sets the alias.
Declaration
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Expression
gets the expression.
Declaration
protected Expression Expression { get; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.Expression |
Methods
| Improve this Doc View SourceSerialize()
Serializes the predicate.
Declaration
public IEnumerable<string> Serialize()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | An array of string arguments for an aggregation. |