瀏覽代碼

Merge branch 'develop' of https://github.com/dotnetcore/CAP into develop

undefined
Savorboard 6 年之前
父節點
當前提交
5803d8f29c
共有 6 個檔案被更改,包括 4 行新增23 行删除
  1. +0
    -0
      src/DotNetCore.CAP.Kafka/IConnectionPool.Default.cs
  2. +0
    -0
      src/DotNetCore.CAP.RabbitMQ/IConnectionChannelPool.Default.cs
  3. +1
    -1
      src/DotNetCore.CAP/Abstractions/CapPublisherBase.cs
  4. +2
    -2
      src/DotNetCore.CAP/ICapPublisher.cs
  5. +1
    -1
      src/DotNetCore.CAP/ICapSubscribe.cs
  6. +0
    -19
      src/DotNetCore.CAP/IFetchedMessage.cs

src/DotNetCore.CAP.Kafka/ConnectionPool.cs → src/DotNetCore.CAP.Kafka/IConnectionPool.Default.cs 查看文件


src/DotNetCore.CAP.RabbitMQ/ConnectionChannelPool.cs → src/DotNetCore.CAP.RabbitMQ/IConnectionChannelPool.Default.cs 查看文件


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

@@ -132,7 +132,7 @@ namespace DotNetCore.CAP.Abstractions
{
throw new InvalidOperationException(
"If you are using the EntityFramework, you need to configure the DbContextType first." +
" otherwise you need to use overloaded method with IDbConnection and IDbTransaction.");
" otherwise you need to use overloaded method with IDbTransaction.");
}
}



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

@@ -15,7 +15,7 @@ namespace DotNetCore.CAP
/// (EntityFramework) Asynchronous publish a object message.
/// <para>
/// If you are using the EntityFramework, you need to configure the DbContextType first.
/// otherwise you need to use overloaded method with IDbConnection and IDbTransaction.
/// otherwise you need to use overloaded method with IDbTransaction.
/// </para>
/// </summary>
/// <typeparam name="T">The type of content object.</typeparam>
@@ -28,7 +28,7 @@ namespace DotNetCore.CAP
/// (EntityFramework) Publish a object message.
/// <para>
/// If you are using the EntityFramework, you need to configure the DbContextType first.
/// otherwise you need to use overloaded method with IDbConnection and IDbTransaction.
/// otherwise you need to use overloaded method with IDbTransaction.
/// </para>
/// </summary>
/// <typeparam name="T">The type of content object.</typeparam>


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

@@ -4,7 +4,7 @@
namespace DotNetCore.CAP
{
/// <summary>
/// An empty interface, which is used to mark the current class have a CAP methods.
/// An empty interface, which is used to mark the current class have a CAP subscriber methods.
/// </summary>
public interface ICapSubscribe
{


+ 0
- 19
src/DotNetCore.CAP/IFetchedMessage.cs 查看文件

@@ -1,19 +0,0 @@
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System;
using DotNetCore.CAP.Models;

namespace DotNetCore.CAP
{
public interface IFetchedMessage : IDisposable
{
int MessageId { get; }

MessageType MessageType { get; }

void RemoveFromQueue();

void Requeue();
}
}

Loading…
取消
儲存