浏览代码

Rename IConsumerInvoker impl.

master
yangxiaodong 7 年前
父节点
当前提交
f8d3f4b223
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. +1
    -1
      src/DotNetCore.CAP/Internal/ConsumerInvokerFactory.cs
  2. +2
    -2
      src/DotNetCore.CAP/Internal/IConsumerInvoker.Default.cs

+ 1
- 1
src/DotNetCore.CAP/Internal/ConsumerInvokerFactory.cs 查看文件

@@ -26,7 +26,7 @@ namespace DotNetCore.CAP.Internal
{
var context = new ConsumerInvokerContext(consumerContext);

context.Result = new ConsumerInvoker(_logger, _serviceProvider, _modelBinder, consumerContext);
context.Result = new DefaultConsumerInvoker(_logger, _serviceProvider, _modelBinder, consumerContext);

return context.Result;
}


src/DotNetCore.CAP/Internal/ConsumerInvoker.cs → src/DotNetCore.CAP/Internal/IConsumerInvoker.Default.cs 查看文件

@@ -8,7 +8,7 @@ using Microsoft.Extensions.Logging;

namespace DotNetCore.CAP.Internal
{
public class ConsumerInvoker : IConsumerInvoker
public class DefaultConsumerInvoker : IConsumerInvoker
{
protected readonly ILogger _logger;
protected readonly IServiceProvider _serviceProvider;
@@ -16,7 +16,7 @@ namespace DotNetCore.CAP.Internal
private readonly ObjectMethodExecutor _executor;
protected readonly ConsumerContext _consumerContext;

public ConsumerInvoker(ILogger logger,
public DefaultConsumerInvoker(ILogger logger,
IServiceProvider serviceProvider,
IModelBinder modelBinder,
ConsumerContext consumerContext)

正在加载...
取消
保存