Add project files.
This commit is contained in:
23
Core.Blueprint.Redis/Adapters/CacheSettings.cs
Normal file
23
Core.Blueprint.Redis/Adapters/CacheSettings.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user