C# Класс DotNetWorkQueue.Transport.Redis.RedisConnection

Contains the connection to the redis server(s)
Наследование: IRedisConnection
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RedisConnection ( IConnectionInformation connectionInformation ) : System

Initializes a new instance of the RedisConnection class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

ThrowIfDisposed ( [ name = "" ) : void

Throws an exception if this instance has been disposed.

Приватные методы

Метод Описание
EnsureCreated ( ) : void

Ensures that the connection has been opened.

The connection will only be opened once

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Результат void

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

Initializes a new instance of the RedisConnection class.
public RedisConnection ( IConnectionInformation connectionInformation ) : System
connectionInformation IConnectionInformation The connection information.
Результат System

ThrowIfDisposed() защищенный Метод

Throws an exception if this instance has been disposed.
protected ThrowIfDisposed ( [ name = "" ) : void
name [ The name.
Результат void