Aggregate.cs from StackExchange/StackExchange.Redis
// Source: https://github.com/StackExchange/StackExchange.Redis | License: MIT | Copyright 2014 Stack Exchange
// Provided via justclaw.it.com; keep this notice with the code.
using System.Diagnostics.CodeAnalysis;
using RESPite;
namespace StackExchange.Redis
{
/// <summary>
/// Specifies how elements should be aggregated when combining sorted sets.
/// </summary>
public enum Aggregate
{
/// <summary>
/// The values of the combined elements are added.
/// </summary>
Sum,
/// <summary>
/// The least value of the combined elements is used.
/// </summary>
Min,
/// <summary>
/// The greatest value of the combined elements is used.
/// </summary>
Max,
/// <summary>
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key