You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
644 B

using System;
namespace CounsellorBL.Helper
{
public static class CSRedisHelper
{
private static object _lock = new object();
public static string GetString(string i_sKey, out string o_sValue)
{
string sMsg = null;
string sValueTemp = null;
try
{
lock(_lock)
{
sValueTemp = RedisHelper.Get(i_sKey);
}
}
catch(Exception ex)
{
sMsg = ex.Message;
}
o_sValue = sValueTemp;
return sMsg;
}
}
}