Interfaces/IDatabase.cs

StackExchange.Redis · src/StackExchange.Redis/Interfaces/IDatabase.cs · csharp · MIT
database

Interface defining Redis database operations.

// 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;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Net;
using RESPite;

// ReSharper disable once CheckNamespace
namespace StackExchange.Redis
{
    /// <summary>
    /// Describes functionality that is common to both standalone redis servers and redis clusters.
    /// </summary>
    public partial interface IDatabase : IRedis, IDatabaseAsync
    {
        /// <summary>
        /// The numeric identifier of this database.
        /// </summary>
        new int Database { get; }

        /// <summary>
        /// Allows creation of a group

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key