Commit 3abd0254 authored by Neil Crawford's avatar Neil Crawford

RedisValue HasValue property

parent 54d69d2f
......@@ -60,6 +60,17 @@ public bool IsNullOrEmpty
}
}
/// <summary>
/// Indicates whether the value is greater than zero-length
/// </summary>
public bool HasValue
{
get
{
return valueBlob != null && valueBlob.Length > 0;
}
}
/// <summary>
/// Indicates whether two RedisValue values are equivalent
/// </summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment