Class RedisResult
- Namespace
- StackExchange.Redis
- Assembly
- StackExchange.Redis.StrongName.dll
Represents a general-purpose result from redis, that may be cast into various anticipated types
public abstract class RedisResult
- Inheritance
-
RedisResult
- Inherited Members
Constructors
RedisResult()
protected RedisResult()
Properties
IsNull
Indicates whether this result was a null result
public abstract bool IsNull { get; }
Property Value
Methods
Create(RedisValue)
Create a new RedisResult.
public static RedisResult Create(RedisValue value)
Parameters
value
RedisValue
Returns
Operators
explicit operator RedisKey(RedisResult)
Interprets the result as a RedisKey
public static explicit operator RedisKey(RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator RedisKey[](RedisResult)
Interprets the result as an array of RedisKey
public static explicit operator RedisKey[](RedisResult result)
Parameters
result
RedisResult
Returns
- RedisKey[]
explicit operator RedisResult[](RedisResult)
Interprets the result as an array of RedisResult
public static explicit operator RedisResult[](RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator RedisValue(RedisResult)
Interprets the result as a RedisValue
public static explicit operator RedisValue(RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator RedisValue[](RedisResult)
Interprets the result as an array of RedisValue
public static explicit operator RedisValue[](RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator bool(RedisResult)
Interprets the result as a Boolean
public static explicit operator bool(RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator bool[](RedisResult)
Interprets the result as an array of Boolean
public static explicit operator bool[](RedisResult result)
Parameters
result
RedisResult
Returns
- bool[]
explicit operator byte[](RedisResult)
Interprets the result as a Byte[]
public static explicit operator byte[](RedisResult result)
Parameters
result
RedisResult
Returns
- byte[]
explicit operator byte[][](RedisResult)
Interprets the result as an array of Byte[]
public static explicit operator byte[][](RedisResult result)
Parameters
result
RedisResult
Returns
- byte[][]
explicit operator double(RedisResult)
Interprets the result as a Double
public static explicit operator double(RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator double[](RedisResult)
Interprets the result as an array of Double
public static explicit operator double[](RedisResult result)
Parameters
result
RedisResult
Returns
- double[]
explicit operator int(RedisResult)
Interprets the result as an Int32
public static explicit operator int(RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator int[](RedisResult)
Interprets the result as an array of Int32
public static explicit operator int[](RedisResult result)
Parameters
result
RedisResult
Returns
- int[]
explicit operator long(RedisResult)
Interprets the result as an Int64
public static explicit operator long(RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator long[](RedisResult)
Interprets the result as an array of Int64
public static explicit operator long[](RedisResult result)
Parameters
result
RedisResult
Returns
- long[]
explicit operator bool?(RedisResult)
Interprets the result as a Nullable Boolean
public static explicit operator bool?(RedisResult result)
Parameters
result
RedisResult
Returns
- bool?
explicit operator double?(RedisResult)
Interprets the result as a Nullable Double
public static explicit operator double?(RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator int?(RedisResult)
Interprets the result as a Nullable Int32
public static explicit operator int?(RedisResult result)
Parameters
result
RedisResult
Returns
- int?
explicit operator long?(RedisResult)
Interprets the result as a Nullable Int64
public static explicit operator long?(RedisResult result)
Parameters
result
RedisResult
Returns
- long?
explicit operator string(RedisResult)
Interprets the result as a String
public static explicit operator string(RedisResult result)
Parameters
result
RedisResult
Returns
explicit operator string[](RedisResult)
Interprets the result as an array of String
public static explicit operator string[](RedisResult result)
Parameters
result
RedisResult
Returns
- string[]