RoboZhando/Redis/StackExchangeClient.cs
/// <summary>
/// Serializes an object and stores it under a hash
/// </summary>
/// <param name="key"></param>
/// <param name="obj"></param>
/// <returns></returns>
Serializes an object and stores it under a hash
Serializes an object and stores it under a hash
public async Task StoreObjectAsync(string key, object obj)
        {
            var dict = RedisConvert.Serialize(obj);
            if (dict.Keys.Count > 0)
            {
                await this.StoreHashMapAsync(key, dict);
            }
            else
            {
                Console.WriteLine("Attempted to write a null key!");
            }
        }
public async Task StoreObjectAsync ( string key , object obj ) { var dict = RedisConvert . Serialize ( obj ) ; if ( dict . Keys . Count > 0 ) { await this . StoreHashMapAsync ( key , dict ) ; } else { Console . WriteLine ( " " ) ; } }
Serializes an object and stores it under a hash
Serializes an object and stores it under a hash
//TODO: Delete the key maybe?
None
key
string
None
obj
object
None