diff --git a/src/blazor/admin/BootstrapAdmin.Caching/CacheKeyChangeToken.cs b/src/blazor/admin/BootstrapAdmin.Caching/CacheKeyChangeToken.cs new file mode 100644 index 00000000..4b2e1254 --- /dev/null +++ b/src/blazor/admin/BootstrapAdmin.Caching/CacheKeyChangeToken.cs @@ -0,0 +1,31 @@ +using Microsoft.Extensions.Primitives; + +namespace BootstrapAdmin.Caching; + +/// +/// 缓存键值 IChangeToken 实现类 +/// +public class CacheKeyChangeToken : IChangeToken +{ + /// + /// + /// + public bool HasChanged { get; } + + /// + /// + /// + public bool ActiveChangeCallbacks { get; } + + /// + /// + /// + /// + /// + /// + /// + public IDisposable RegisterChangeCallback(Action callback, object state) + { + throw new NotImplementedException(); + } +}