feat: 准备实现 IChangeToken 类
This commit is contained in:
parent
eb67bbf26e
commit
61ac109d2e
|
@ -0,0 +1,31 @@
|
|||
using Microsoft.Extensions.Primitives;
|
||||
|
||||
namespace BootstrapAdmin.Caching;
|
||||
|
||||
/// <summary>
|
||||
/// 缓存键值 IChangeToken 实现类
|
||||
/// </summary>
|
||||
public class CacheKeyChangeToken : IChangeToken
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public bool HasChanged { get; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public bool ActiveChangeCallbacks { get; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="callback"></param>
|
||||
/// <param name="state"></param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="NotImplementedException"></exception>
|
||||
public IDisposable RegisterChangeCallback(Action<object> callback, object state)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue