Skip to main content

IRedisSet

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

Methods​

GetRangeFromSortedSet(Int32, Int32)​

View Source​
Declaration
List<string> GetRangeFromSortedSet(int startingFrom, int endingAt)
Returns​

System.Collections.Generic.List<System.String>

Parameters​
TypeName
System.Int32startingFrom
System.Int32endingAt

GetAll()​

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

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

Pop()​

View Source​
Declaration
string Pop()
Returns​

System.String

Move(String, IRedisSet)​

View Source​
Declaration
void Move(string value, IRedisSet toSet)
Parameters​
TypeName
System.Stringvalue
ServiceStack.Redis.IRedisSettoSet

Intersect(IRedisSet[])​

View Source​
Declaration
HashSet<string> Intersect(params IRedisSet[] withSets)
Returns​

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

Parameters​
TypeName
ServiceStack.Redis.IRedisSet[]withSets

StoreIntersect(IRedisSet[])​

View Source​
Declaration
void StoreIntersect(params IRedisSet[] withSets)
Parameters​
TypeName
ServiceStack.Redis.IRedisSet[]withSets

Union(IRedisSet[])​

View Source​
Declaration
HashSet<string> Union(params IRedisSet[] withSets)
Returns​

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

Parameters​
TypeName
ServiceStack.Redis.IRedisSet[]withSets

StoreUnion(IRedisSet[])​

View Source​
Declaration
void StoreUnion(params IRedisSet[] withSets)
Parameters​
TypeName
ServiceStack.Redis.IRedisSet[]withSets

Diff(IRedisSet[])​

View Source​
Declaration
HashSet<string> Diff(IRedisSet[] withSets)
Returns​

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

Parameters​
TypeName
ServiceStack.Redis.IRedisSet[]withSets

StoreDiff(IRedisSet, IRedisSet[])​

View Source​
Declaration
void StoreDiff(IRedisSet fromSet, params IRedisSet[] withSets)
Parameters​
TypeName
ServiceStack.Redis.IRedisSetfromSet
ServiceStack.Redis.IRedisSet[]withSets

GetRandomEntry()​

View Source​
Declaration
string GetRandomEntry()
Returns​

System.String