山东雷驰
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.

17 lines
386 B

3 months ago
namespace Kean.Infrastructure.NoSql.Redis
{
/// <summary>
/// 表示数据类型
/// </summary>
/// <typeparam name="T">值类型</typeparam>
public interface IValue<T>
{
/// <summary>
/// 获取值
/// </summary>
/// <param name="key">键</param>
/// <returns>值</returns>
T this[string key] { get; }
}
}