You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
502 B
C#
24 lines
502 B
C#
using EntrustSettle.Common.Option.Core;
|
|
|
|
namespace EntrustSettle.Common.Option;
|
|
|
|
/// <summary>
|
|
/// 缓存配置选项
|
|
/// </summary>
|
|
public sealed class RedisOptions : IConfigurableOptions
|
|
{
|
|
/// <summary>
|
|
/// 是否启用
|
|
/// </summary>
|
|
public bool Enabled { get; set; }
|
|
|
|
/// <summary>
|
|
/// Redis连接
|
|
/// </summary>
|
|
public string ConnectionString { get; set; }
|
|
|
|
/// <summary>
|
|
/// 键值前缀
|
|
/// </summary>
|
|
public string InstanceName { get; set; }
|
|
} |