Skip to content

Commit

Permalink
修改DefaultResponseCacheProvider的Name
Browse files Browse the repository at this point in the history
  • Loading branch information
xljiulang committed Jan 26, 2021
1 parent 3c00654 commit 2718379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WebApiClientCore.Abstractions/ResponseCacheEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class ResponseCacheEntry
/// <param name="requestMessage">请求信息</param>
/// <param name="cacheProviderName">缓存提供者名</param>
/// <returns></returns>
public HttpResponseMessage ToResponseMessage(System.Net.Http.HttpRequestMessage requestMessage, string cacheProviderName)
public HttpResponseMessage ToResponseMessage(HttpRequestMessage requestMessage, string cacheProviderName)
{
var response = new HttpResponseMessage
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sealed class DefaultResponseCacheProvider : Disposable, IResponseCacheProvider
/// <summary>
/// 获取提供者的友好名称
/// </summary>
public string Name { get; } = nameof(MemoryCache);
public string Name { get; } = nameof(DefaultResponseCacheProvider);

/// <summary>
/// Api响应结果缓存提供者的接口
Expand Down

0 comments on commit 2718379

Please sign in to comment.