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
Type | Name |
---|---|
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
Type | Name |
---|---|
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
Type | Name |
---|---|
System.String | key |
System.Int32 | incrementBy |