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

Extension methods for setting redis specific properties on the additional message data classes
Показать файл Открыть проект

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

Метод Описание
GetDelay ( this data ) : TimeSpan?

Gets the message delay.

GetExpiration ( this data ) : TimeSpan?

Gets the message expiration.

SetDelay ( this data, System.TimeSpan delay ) : void

Sets the message delay.

SetExpiration ( this data, System.TimeSpan expiration ) : void

Sets the message expiration.

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

GetDelay() публичный статический Метод

Gets the message delay.
public static GetDelay ( this data ) : TimeSpan?
data this The data.
Результат TimeSpan?

GetExpiration() публичный статический Метод

Gets the message expiration.
public static GetExpiration ( this data ) : TimeSpan?
data this The data.
Результат TimeSpan?

SetDelay() публичный статический Метод

Sets the message delay.
public static SetDelay ( this data, System.TimeSpan delay ) : void
data this The data.
delay System.TimeSpan The delay.
Результат void

SetExpiration() публичный статический Метод

Sets the message expiration.
public static SetExpiration ( this data, System.TimeSpan expiration ) : void
data this The data.
expiration System.TimeSpan The expiration.
Результат void