RedisCacheOptions 類別

定義

RedisCache 的組態選項。Configuration options for RedisCache.

public ref class RedisCacheOptions : Microsoft::Extensions::Options::IOptions<Microsoft::Extensions::Caching::Redis::RedisCacheOptions ^>
public class RedisCacheOptions : Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.Caching.Redis.RedisCacheOptions>
type RedisCacheOptions = class
    interface IOptions<RedisCacheOptions>
Public Class RedisCacheOptions
Implements IOptions(Of RedisCacheOptions)
繼承
RedisCacheOptions
實作

建構函式

RedisCacheOptions()

屬性

Configuration

用來連線到 Redis 的組態。The configuration used to connect to Redis.

ConfigurationOptions

用來連線到 Redis 的組態。The configuration used to connect to Redis. 此項目優先於組態。This is preferred over Configuration.

InstanceName

Redis 執行個體名稱。The Redis instance name.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

明確介面實作

IOptions<RedisCacheOptions>.Value

適用於