/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
文件名:MemcachedServiceCollectionExtensions.cs
文件功能描述:Memcached 依赖注入设置。
创建标识:Senparc - 20180222
----------------------------------------------------------------*/
#if !NET462
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Enyim.Caching.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Senparc.Weixin.Cache.Memcached;
namespace Microsoft.Extensions.DependencyInjection
{
public static class MemcachedServiceCollectionExtensions
{
///
/// .NET Core下设置依赖注入(暂时请用CO2NET对应 AddSenparcMemcached 方法)
///
///
///
///
public static IServiceCollection AddWeixinMemcached(this IServiceCollection services, Action setupAction)
{
return services;
//services.AddSingleton();
//services.AddSingleton();
//return services.AddEnyimMemcached(setupAction);
}
}
}
#endif