Ver código fonte

Rename IConsumerInvoker impl.

master
yangxiaodong 7 anos atrás
pai
commit
f8d3f4b223
2 arquivos alterados com 3 adições e 3 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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)

Carregando…
Cancelar
Salvar