diff --git a/src/sapher/Configuration/ISapherConfigurator.cs b/src/sapher/Configuration/ISapherConfigurator.cs
index 917aa98..243826b 100644
--- a/src/sapher/Configuration/ISapherConfigurator.cs
+++ b/src/sapher/Configuration/ISapherConfigurator.cs
@@ -17,11 +17,11 @@ public interface ISapherConfigurator
/// Step name
/// Configuration action for the Step creation
/// Updated ISapherConfigurator for fluent configuration
- ISapherConfigurator AddStep(string name, Action configure = null)
+ ISapherConfigurator AddStep(string name, Action configure = null)
where T : class, IHandlesInput;
///
- /// Defines an implementation of ILogger to be used by Sapher for logging.
+ /// Defines an implementation of ILogger to be used by Sapher for logging.
/// If not defined, Sapher will not log anything.
/// This is used as singleton.
///
@@ -31,7 +31,7 @@ ISapherConfigurator AddStep(string name, Action conf
ISapherConfigurator AddLogger(T instance = null) where T : class, ILogger;
///
- /// Defines an implementation of ISapherDataRepository to be used by Sapher for persistence.
+ /// Defines an implementation of ISapherDataRepository to be used by Sapher for persistence.
/// If not defined, Sapher will use In Memory persistence.
/// This is used as singleton.
///
diff --git a/src/sapher/Configuration/Implementations/SapherConfigurator.cs b/src/sapher/Configuration/Implementations/SapherConfigurator.cs
index 77efd0f..04ff7cf 100644
--- a/src/sapher/Configuration/Implementations/SapherConfigurator.cs
+++ b/src/sapher/Configuration/Implementations/SapherConfigurator.cs
@@ -97,7 +97,7 @@ public ISapherConfigurator AddStep(
}
///
- /// Defines an implementation of ILogger to be used by Sapher for logging.
+ /// Defines an implementation of ILogger to be used by Sapher for logging.
/// If not defined, Sapher will not log anything.
/// This is used as singleton.
///
@@ -112,7 +112,7 @@ public ISapherConfigurator AddLogger(T instance = null) where T : class, ILog
}
///
- /// Defines an implementation of ISapherDataRepository to be used by Sapher for persistence.
+ /// Defines an implementation of ISapherDataRepository to be used by Sapher for persistence.
/// If not defined, Sapher will use In Memory persistence.
/// This is used as singleton.
///
diff --git a/src/sapher/Dtos/MessageSlip.cs b/src/sapher/Dtos/MessageSlip.cs
index d06c927..fa20604 100644
--- a/src/sapher/Dtos/MessageSlip.cs
+++ b/src/sapher/Dtos/MessageSlip.cs
@@ -31,8 +31,8 @@ public class MessageSlip
/// The conversationId.
///Sshould be the messageId of the message that originated this message.
///If the message is the first message of the distributed transaction, this should be left null
- /// The unique identifier of a distributed transaction.
- /// Should be the same for all messages of a single distributed transaction.
+ /// The unique identifier of a distributed transaction.
+ /// Should be the same for all messages of a single distributed transaction.
/// If no value is provided, a new Guid will be generated.
public MessageSlip(string messageId = null, string conversationId = null, string correlationId = null)
{
diff --git a/src/sapher/Handlers/IHandlesInput.cs b/src/sapher/Handlers/IHandlesInput.cs
index 2ee70e2..c065c7a 100644
--- a/src/sapher/Handlers/IHandlesInput.cs
+++ b/src/sapher/Handlers/IHandlesInput.cs
@@ -25,6 +25,5 @@ public interface IHandlesInput
///
public interface IHandlesInput
{
-
}
}
\ No newline at end of file
diff --git a/src/sapher/Handlers/IHandlesResponse.cs b/src/sapher/Handlers/IHandlesResponse.cs
index 1e95c8d..2f4578d 100644
--- a/src/sapher/Handlers/IHandlesResponse.cs
+++ b/src/sapher/Handlers/IHandlesResponse.cs
@@ -17,7 +17,7 @@ public interface IHandlesResponse
///
/// Received response message
/// MessageSlip of the message, containing its identifiers
- /// Data provided to be persisted in the distributed transaction step input execution
+ /// Data provided to be persisted in the distributed transaction step input execution
/// - provided by the InputResult returned by the InputHandler's execute method
/// ResponseResult instance, containing the result of the execution
Task Execute(
@@ -31,6 +31,5 @@ Task Execute(
///
public interface IHandlesResponse
{
-
}
}
\ No newline at end of file
diff --git a/src/sapher/Logger/LogEntry.cs b/src/sapher/Logger/LogEntry.cs
index 86aacb9..a395d09 100644
--- a/src/sapher/Logger/LogEntry.cs
+++ b/src/sapher/Logger/LogEntry.cs
@@ -67,8 +67,8 @@ public class LogEntry
/// The message of the LogEntry
/// The exception of the LogEntry. This is optional.
/// Additional data to add to the LogEntry. This is optional.
- /// is null
- /// is empty or whitespace
+ /// is null
+ /// is empty or whitespace
public LogEntry(
LoggingEventType severity,
string message,
diff --git a/src/sapher/Persistence/Repositories/InMemorySapherRepository.cs b/src/sapher/Persistence/Repositories/InMemorySapherRepository.cs
index bc58671..23085fb 100644
--- a/src/sapher/Persistence/Repositories/InMemorySapherRepository.cs
+++ b/src/sapher/Persistence/Repositories/InMemorySapherRepository.cs
@@ -8,6 +8,7 @@
using TypeAdapters;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
+
public class InMemorySapherRepository : ISapherDataRepository
{
private readonly List stepData = new List();
@@ -78,4 +79,5 @@ private Model.SapherStepData LoadFromId(string id)
StringComparison.InvariantCultureIgnoreCase));
}
}
+
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
\ No newline at end of file
diff --git a/src/sapher/SapherStep.cs b/src/sapher/SapherStep.cs
index 0afe60e..2cef9b1 100644
--- a/src/sapher/SapherStep.cs
+++ b/src/sapher/SapherStep.cs
@@ -7,12 +7,12 @@
using Configuration;
using Dtos;
using Exceptions;
- using Logger.Extensions;
- using Utils;
using Handlers;
using Logger;
+ using Logger.Extensions;
using Microsoft.Extensions.DependencyInjection;
using Persistence;
+ using Utils;
internal class SapherStep : ISapherStep
{
diff --git a/src/sapher/Sapherman.cs b/src/sapher/Sapherman.cs
index d554488..ef684df 100644
--- a/src/sapher/Sapherman.cs
+++ b/src/sapher/Sapherman.cs
@@ -7,10 +7,10 @@
using Configuration;
using Dtos;
using Exceptions;
- using Persistence;
using Logger;
using Logger.Extensions;
using Microsoft.Extensions.DependencyInjection;
+ using Persistence;
using Polly;
///
diff --git a/test/unit/Sapher.Tests/Sapher.Tests.csproj b/test/unit/Sapher.Tests/Sapher.Tests.csproj
index 401464b..e51ba31 100644
--- a/test/unit/Sapher.Tests/Sapher.Tests.csproj
+++ b/test/unit/Sapher.Tests/Sapher.Tests.csproj
@@ -15,7 +15,7 @@
-
+
diff --git a/test/unit/Sapher.Tests/SapherTests.cs b/test/unit/Sapher.Tests/SapherTests.cs
index a6d7932..0fa7e37 100644
--- a/test/unit/Sapher.Tests/SapherTests.cs
+++ b/test/unit/Sapher.Tests/SapherTests.cs
@@ -352,7 +352,7 @@ public async Task GetStepInstance_RetrievesInstanceValidInfo()
};
var inputMessageSlip = Dtos.MessageSlip.GenerateNewMessageSlip();
- const string expectedStepName = "TestInputWithResponses";
+ const string expectedStepName = "TestInputWithResponses";
await this.sapher
.DeliverMessage(
diff --git a/test/unit/Sapher.Tests/TestLogger.cs b/test/unit/Sapher.Tests/TestLogger.cs
index 871a390..bd4b715 100644
--- a/test/unit/Sapher.Tests/TestLogger.cs
+++ b/test/unit/Sapher.Tests/TestLogger.cs
@@ -6,7 +6,7 @@
[ExcludeFromCodeCoverage]
internal class TestLogger : ILogger
{
- public static LogEntry ReceivedLogEntry{ get; set; }
+ public static LogEntry ReceivedLogEntry { get; set; }
public void Log(LogEntry entry)
{