src/Library/NetPro.StackExchange.Redis/StackExchange.Redis.Extensions.Core/Configuration/RedisHost.cs

(完整代码) 648B

namespace StackExchange.Redis.Extensions.Core.Configuration
{
    /// <summary>
    /// This class represent the redis host configuration section
    /// </summary>
    public class RedisHost
    {
        /// <summary>
        /// Gets or sets the IP or host name of the redis server.
        /// </summary>
        /// <value>The IP or host name of the redis server.</value>
        public string Host { get; set; } = "localhost";

        /// <summary>
        /// Gets or sets the port of the redis server.
        /// </summary>
        /// <value>The port of the redis server.</value>
        public int Port { get; set; } = 6379;
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。