C# 클래스 CachingFramework.Redis.Context

Context class containing the public APIs.
상속: IContext
파일 보기 프로젝트 열기: thepirat000/CachingFramework.Redis

공개 메소드들

메소드 설명
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