You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
/*----------------------------------------------------------------
Copyright (C) 2023 Senparc
文件名: MemcachedApplicationBuilderExtensions.cs
文件功能描述: Memcached 依赖注入设置。
创建标识: Senparc - 20180222
----------------------------------------------------------------*/
#if !NET462
using Enyim.Caching ;
using Microsoft.Extensions.Logging ;
using System ;
using System.Collections.Generic ;
using System.Linq ;
using System.Text ;
using System.Threading.Tasks ;
namespace Microsoft.AspNetCore.Builder
{
public static class MemcachedApplicationBuilderExtensions
{
public static IApplicationBuilder UseSenparcMemcached ( this IApplicationBuilder app )
{
app . UseEnyimMemcached ( ) ;
return app ;
}
}
}
# endif