Skip to main content

IRedisClientFacade

Assembly: ServiceStack.dll
View Source
Declaration
public interface IRedisClientFacade : IDisposable

Methods

GetAllItemsFromSet(String)

View Source
Declaration
HashSet<string> GetAllItemsFromSet(string setId)
Returns

System.Collections.Generic.HashSet<System.String>

Parameters
TypeName
System.StringsetId

Store<T>(T)

View Source
Declaration
void Store<T>(T item)
Parameters
TypeName
<T>item
Type Parameters
  • T

DeleteById<T>(String)

View Source
Declaration
void DeleteById<T>(string id)
Parameters
TypeName
System.Stringid
Type Parameters
  • T

GetValueFromHash(String, String)

View Source
Declaration
string GetValueFromHash(string hashId, string key)
Returns

System.String

Parameters
TypeName
System.StringhashId
System.Stringkey

SetEntryInHash(String, String, String)

View Source
Declaration
void SetEntryInHash(string hashId, string key, string value)
Parameters
TypeName
System.StringhashId
System.Stringkey
System.Stringvalue

RemoveEntryFromHash(String, String)

View Source
Declaration
void RemoveEntryFromHash(string hashId, string key)
Parameters
TypeName
System.StringhashId
System.Stringkey

AddItemToSet(String, String)

View Source
Declaration
void AddItemToSet(string setId, string item)
Parameters
TypeName
System.StringsetId
System.Stringitem

As<T>()

View Source
Declaration
ITypedRedisClientFacade<T> As<T>()
Returns

ServiceStack.Auth.ITypedRedisClientFacade<T>

Type Parameters
  • T