C# Class DotNetWorkQueue.Transport.Redis.ConfigurationExtensionsForIAdditionalMessageData

Extension methods for setting redis specific properties on the additional message data classes
Datei anzeigen Open project: blehnen/DotNetWorkQueue

Public Methods

Method Description
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.

Method Details

GetDelay() public static method

Gets the message delay.
public static GetDelay ( this data ) : TimeSpan?
data this The data.
return TimeSpan?

GetExpiration() public static method

Gets the message expiration.
public static GetExpiration ( this data ) : TimeSpan?
data this The data.
return TimeSpan?

SetDelay() public static method

Sets the message delay.
public static SetDelay ( this data, System.TimeSpan delay ) : void
data this The data.
delay System.TimeSpan The delay.
return void

SetExpiration() public static method

Sets the message expiration.
public static SetExpiration ( this data, System.TimeSpan expiration ) : void
data this The data.
expiration System.TimeSpan The expiration.
return void