17 lines
353 B
C#
17 lines
353 B
C#
using LFlow.Cache.Cacher;
|
|
using LFlow.Cache.Interface;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace LFlow.Cache
|
|
{
|
|
public static class MemoryCacheExtensions
|
|
{
|
|
public static void AddSelfCache(this IServiceCollection services)
|
|
{
|
|
services.AddSingleton<ISelfCache, SelfSingleCache>();
|
|
}
|
|
|
|
|
|
}
|
|
}
|