From f8d3f4b223da66dac554611f0d0d0604e75f570f Mon Sep 17 00:00:00 2001 From: yangxiaodong Date: Fri, 23 Jun 2017 15:52:42 +0800 Subject: [PATCH] Rename IConsumerInvoker impl. --- src/DotNetCore.CAP/Internal/ConsumerInvokerFactory.cs | 2 +- .../{ConsumerInvoker.cs => IConsumerInvoker.Default.cs} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/DotNetCore.CAP/Internal/{ConsumerInvoker.cs => IConsumerInvoker.Default.cs} (95%) diff --git a/src/DotNetCore.CAP/Internal/ConsumerInvokerFactory.cs b/src/DotNetCore.CAP/Internal/ConsumerInvokerFactory.cs index 37349df..03d00ac 100644 --- a/src/DotNetCore.CAP/Internal/ConsumerInvokerFactory.cs +++ b/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; } diff --git a/src/DotNetCore.CAP/Internal/ConsumerInvoker.cs b/src/DotNetCore.CAP/Internal/IConsumerInvoker.Default.cs similarity index 95% rename from src/DotNetCore.CAP/Internal/ConsumerInvoker.cs rename to src/DotNetCore.CAP/Internal/IConsumerInvoker.Default.cs index 6d52d20..ae26f6b 100644 --- a/src/DotNetCore.CAP/Internal/ConsumerInvoker.cs +++ b/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)