Refactored the ServiceBus Integration tests for improved readability and maintenance. The changes included reducing the number of lines by removing unnecessary curly braces, removing unnecessary use of 'this' qualifier, replacing null checks with null-conditional operators, and organizing various code blocks for better understanding.
8 lines
250 B
C#
8 lines
250 B
C#
namespace Elsa.ServiceBus.IntegrationTests.Contracts;
|
|
|
|
public interface ITestResetEventManager
|
|
{
|
|
public void Set(string resetEvent);
|
|
public AutoResetEvent? Get(string resetEvent);
|
|
public AutoResetEvent Init(string resetEvent);
|
|
} |