Partajați prin


RedisCacheOptions Class

Definition

Configuration options for RedisCache.

public ref class RedisCacheOptions : Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Caching::StackExchangeRedis::RedisCacheOptions ^>
public class RedisCacheOptions : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.StackExchangeRedis.RedisCacheOptions>
type RedisCacheOptions = class
    interface IOptions<RedisCacheOptions>
Public Class RedisCacheOptions
Implements IOptions(Of RedisCacheOptions)
Inheritance
RedisCacheOptions
Implements

Constructors

RedisCacheOptions()

Properties

Configuration

The configuration used to connect to Redis.

ConfigurationOptions

The configuration used to connect to Redis. This is preferred over Configuration.

ConnectionMultiplexerFactory
InstanceName

The Redis instance name.

ProfilingSession

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IOptions<RedisCacheOptions>.Value

Gets the default configured TOptions instance.

Applies to