Browse Source

fix spelling mistake

master
Savorboard 7 years ago
parent
commit
f1304cebaf
4 changed files with 9 additions and 2 deletions
  1. +1
    -1
      src/DotNetCore.CAP.Kafka/PublishQueueExecutor.cs
  2. +1
    -1
      src/DotNetCore.CAP.SqlServer/SqlServerStorageConnection.cs
  3. +2
    -0
      src/DotNetCore.CAP/Internal/ObjectMethodExecutor/ObjectMethodExecutor.cs
  4. +5
    -0
      src/DotNetCore.CAP/MessageContext.cs

+ 1
- 1
src/DotNetCore.CAP.Kafka/PublishQueueExecutor.cs View File

@@ -49,7 +49,7 @@ namespace DotNetCore.CAP.Kafka
catch (Exception ex)
{
_logger.LogError(
$"kafka topic message [{keyName}] has benn raised an exception of sending. the exception is: {ex.Message}");
$"kafka topic message [{keyName}] has been raised an exception of sending. the exception is: {ex.Message}");

return Task.FromResult(OperateResult.Failed(ex));
}


+ 1
- 1
src/DotNetCore.CAP.SqlServer/SqlServerStorageConnection.cs View File

@@ -76,7 +76,7 @@ OUTPUT DELETED.MessageId,DELETED.[MessageType];";
}
}

// CapReceviedMessage
// CapReceivedMessage

public async Task StoreReceivedMessageAsync(CapReceivedMessage message)
{


+ 2
- 0
src/DotNetCore.CAP/Internal/ObjectMethodExecutor/ObjectMethodExecutor.cs View File

@@ -6,10 +6,12 @@ using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;

// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.Internal
{
internal class ObjectMethodExecutor
{
// ReSharper disable once InconsistentNaming
private static readonly ConstructorInfo _objectMethodExecutorAwaitableConstructor =
typeof(ObjectMethodExecutorAwaitable).GetConstructor(new[]
{


+ 5
- 0
src/DotNetCore.CAP/MessageContext.cs View File

@@ -7,5 +7,10 @@
public string Name { get; set; }

public string Content { get; set; }

public override string ToString()
{
return $"Group:{Group}, Name:{Name}, Content:{Content}";
}
}
}

Loading…
Cancel
Save