瀏覽代碼

add summary comment.

undefined
Savorboard 7 年之前
父節點
當前提交
97cc190c91
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. +2
    -0
      src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs
  2. +1
    -1
      src/DotNetCore.CAP/IProcessingServer.cs

+ 2
- 0
src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs 查看文件

@@ -32,12 +32,14 @@ namespace Microsoft.Extensions.DependencyInjection

AddSubscribeServices(services);

// serializer and model binder
services.TryAddSingleton<IContentSerializer, JsonContentSerializer>();
services.TryAddSingleton<IConsumerServiceSelector, DefaultConsumerServiceSelector>();
services.TryAddSingleton<IModelBinderFactory, ModelBinderFactory>();
services.TryAddSingleton<IConsumerInvokerFactory, ConsumerInvokerFactory>();
services.TryAddSingleton<MethodMatcherCache>();

//bootstrap
services.AddSingleton<IProcessingServer, ConsumerHandler>();
services.AddSingleton<IProcessingServer, CapProcessingServer>();
services.AddSingleton<IBootstrapper, DefaultBootstrapper>();


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

@@ -4,7 +4,7 @@ namespace DotNetCore.CAP
{
/// <inheritdoc />
/// <summary>
/// A process thread abstract of job process.
/// A process thread abstract of message process.
/// </summary>
public interface IProcessingServer : IDisposable
{


Loading…
取消
儲存