Browse Source

modify the error comments.

undefined
Savorboard 6 years ago
parent
commit
bbc987339d
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/DotNetCore.CAP/Abstractions/CapPublisherBase.cs
  2. +2
    -2
      src/DotNetCore.CAP/ICapPublisher.cs
  3. +1
    -1
      src/DotNetCore.CAP/ICapSubscribe.cs

+ 1
- 1
src/DotNetCore.CAP/Abstractions/CapPublisherBase.cs View File

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

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

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


Loading…
Cancel
Save