Browse Source

Rename IConsumerInvoker impl.

master
yangxiaodong 7 years ago
parent
commit
f8d3f4b223
2 changed files with 3 additions and 3 deletions
  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 View File

@@ -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 View File

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

Loading…
Cancel
Save