C# Класс CachingFramework.Redis.Context

Context class containing the public APIs.
Наследование: IContext
Показать файл Открыть проект

Открытые методы

Метод Описание
Context ( ) : System.IO

Initializes a new instance of the Context class using Redis in localhost server default port 6379, and using the default Serializer.

Context ( string configuration ) : System.IO

Initializes a new instance of the Context class given the cache engine type and its configuration string, and using the default Serializer.

Context ( string configuration, ISerializer serializer ) : System.IO

Initializes a new instance of the Context class.

Context ( string configuration, ISerializer serializer, TextWriter log ) : System.IO

Initializes a new instance of the Context class.

Dispose ( ) : void

Disposes this instance.

GetConnectionMultiplexer ( ) : IConnectionMultiplexer

Gets the StackExchange.Redis's connection multiplexer. Use this if you want to directly access the SE.Redis API.

GetSerializer ( ) : ISerializer

Gets the serializer for this context.

Описание методов

Context() публичный Метод

Initializes a new instance of the Context class using Redis in localhost server default port 6379, and using the default Serializer.
public Context ( ) : System.IO
Результат System.IO

Context() публичный Метод

Initializes a new instance of the Context class given the cache engine type and its configuration string, and using the default Serializer.
public Context ( string configuration ) : System.IO
configuration string The configuration string.
Результат System.IO

Context() публичный Метод

Initializes a new instance of the Context class.
public Context ( string configuration, ISerializer serializer ) : System.IO
configuration string The configuration string.
serializer ISerializer The serializer.
Результат System.IO

Context() публичный Метод

Initializes a new instance of the Context class.
public Context ( string configuration, ISerializer serializer, TextWriter log ) : System.IO
configuration string The configuration string.
serializer ISerializer The serializer.
log System.IO.TextWriter The textwriter to use for logging purposes.
Результат System.IO

Dispose() публичный Метод

Disposes this instance.
public Dispose ( ) : void
Результат void

GetConnectionMultiplexer() публичный Метод

Gets the StackExchange.Redis's connection multiplexer. Use this if you want to directly access the SE.Redis API.
public GetConnectionMultiplexer ( ) : IConnectionMultiplexer
Результат IConnectionMultiplexer

GetSerializer() публичный Метод

Gets the serializer for this context.
public GetSerializer ( ) : ISerializer
Результат ISerializer