Show / Hide Table of Contents

Class Apply

A predicate building a function to apply to items in the aggregation pipeline.

Inheritance
System.Object
Apply
FilterPredicate
Implements
IAggregationPredicate
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 Source

Apply(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 Source

Alias

Gets or sets the alias.

Declaration
public string Alias { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Expression

gets the expression.

Declaration
protected Expression Expression { get; }
Property Value
Type Description
System.Linq.Expressions.Expression

Methods

| Improve this Doc View Source

Serialize()

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.

Implements

IAggregationPredicate
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX