Skip to main content

IRedisSet<T>

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
public interface IRedisSet<T> : ICollection<T>, IEnumerable<T>, IEnumerable, IHasStringId, IHasId<string>

Methods​

Sort(Int32, Int32)​

View Source​
Declaration
List<T> Sort(int startingFrom, int endingAt)
Returns​

System.Collections.Generic.List<<T>>

Parameters​
TypeName
System.Int32startingFrom
System.Int32endingAt

GetAll()​

View Source​
Declaration
HashSet<T> GetAll()
Returns​

System.Collections.Generic.HashSet<<T>>

PopRandomItem()​

View Source​
Declaration
T PopRandomItem()
Returns​

<T>

GetRandomItem()​

View Source​
Declaration
T GetRandomItem()
Returns​

<T>

MoveTo(T, IRedisSet<T>)​

View Source​
Declaration
void MoveTo(T item, IRedisSet<T> toSet)
Parameters​
TypeName
<T>item
ServiceStack.Redis.Generic.IRedisSet<T>toSet

PopulateWithIntersectOf(IRedisSet<T>[])​

View Source​
Declaration
void PopulateWithIntersectOf(params IRedisSet<T>[] sets)
Parameters​
TypeName
ServiceStack.Redis.Generic.IRedisSet`1[]sets

PopulateWithUnionOf(IRedisSet<T>[])​

View Source​
Declaration
void PopulateWithUnionOf(params IRedisSet<T>[] sets)
Parameters​
TypeName
ServiceStack.Redis.Generic.IRedisSet`1[]sets

GetDifferences(IRedisSet<T>[])​

View Source​
Declaration
void GetDifferences(params IRedisSet<T>[] withSets)
Parameters​
TypeName
ServiceStack.Redis.Generic.IRedisSet`1[]withSets

PopulateWithDifferencesOf(IRedisSet<T>, IRedisSet<T>[])​

View Source​
Declaration
void PopulateWithDifferencesOf(IRedisSet<T> fromSet, params IRedisSet<T>[] withSets)
Parameters​
TypeName
ServiceStack.Redis.Generic.IRedisSet<T>fromSet
ServiceStack.Redis.Generic.IRedisSet`1[]withSets