24 lines
578 B
C#
24 lines
578 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Core.Blueprint.Redis
|
|
{
|
|
public interface ICacheSettings
|
|
{
|
|
int DefaultCacheDurationInMinutes { get; set; }
|
|
}
|
|
/// <summary>
|
|
/// Represents the settings for Redis caching.
|
|
/// </summary>
|
|
public class CacheSettings: ICacheSettings
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the default cache duration in minutes.
|
|
/// </summary>
|
|
public int DefaultCacheDurationInMinutes { get; set; }
|
|
}
|
|
}
|