C# Class CachingFramework.Redis.Context

Context class containing the public APIs.
Inheritance: IContext
Afficher le fichier Open project: thepirat000/CachingFramework.Redis

Méthodes publiques

Méthode Description
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.

Method Details

Context() public méthode

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
Résultat System.IO

Context() public méthode

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.
Résultat System.IO

Context() public méthode

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.
Résultat System.IO

Context() public méthode

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.
Résultat System.IO

Dispose() public méthode

Disposes this instance.
public Dispose ( ) : void
Résultat void

GetConnectionMultiplexer() public méthode

Gets the StackExchange.Redis's connection multiplexer. Use this if you want to directly access the SE.Redis API.
public GetConnectionMultiplexer ( ) : IConnectionMultiplexer
Résultat IConnectionMultiplexer

GetSerializer() public méthode

Gets the serializer for this context.
public GetSerializer ( ) : ISerializer
Résultat ISerializer