Skip to main content

IRedisHash

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisHash : IDictionary<string, string>, ICollection<KeyValuePair<string, string>>, IEnumerable<KeyValuePair<string, string>>, IEnumerable, IHasStringId, IHasId<string>

Methods

AddIfNotExists(KeyValuePair<String, String>)

View Source
Declaration
bool AddIfNotExists(KeyValuePair<string, string> item)
Returns

System.Boolean

Parameters
TypeName
System.Collections.Generic.KeyValuePair<System.String,System.String>item

AddRange(IEnumerable<KeyValuePair<String, String>>)

View Source
Declaration
void AddRange(IEnumerable<KeyValuePair<string, string>> items)
Parameters
TypeName
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String,System.String>>items

IncrementValue(String, Int32)

View Source
Declaration
long IncrementValue(string key, int incrementBy)
Returns

System.Int64

Parameters
TypeName
System.Stringkey
System.Int32incrementBy