Skip to content

Commit

Permalink
- renamed 'IProcessMessageAssessor' to `IProcessMessageSpecification
Browse files Browse the repository at this point in the history
  • Loading branch information
eben-roux committed Mar 17, 2024
1 parent 1e7d6f4 commit 99a8a75
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions Shuttle.Esb.Process.Tests/Shuttle.Esb.Process.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="NUnit" Version="3.13.3" />
<PackageReference Include="NUnit3TestAdapter" Version="4.3.1" />
<PackageReference Include="Shuttle.Recall" Version="16.1.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="NUnit" Version="3.14.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Shuttle.Recall" Version="17.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Shuttle.Esb.Process
{
public interface IProcessMessageAssessor : ISpecification<IPipelineEvent>
public interface IProcessMessageSpecification : ISpecification<IPipelineEvent>
{
}
}
4 changes: 2 additions & 2 deletions Shuttle.Esb.Process/ProcessMessageHandlerInvoker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public ProcessMessageHandlerInvoker(IServiceProvider serviceProvider, IOptionsMo

foreach (var assembly in assemblies)
{
foreach (var type in reflectionService.GetTypesAssignableTo<IProcessMessageAssessor>(assembly))
foreach (var type in reflectionService.GetTypesAssignableTo<IProcessMessageSpecification>(assembly))
{
try
{
Expand All @@ -72,7 +72,7 @@ public ProcessMessageHandlerInvoker(IServiceProvider serviceProvider, IOptionsMo
}
catch
{
throw new ProcessException(string.Format(Resources.MissingProcessAssessorConstructor,
throw new ProcessException(string.Format(Resources.ProcessMessageSpecificationConstructorException,
type.AssemblyQualifiedName));
}
}
Expand Down
18 changes: 9 additions & 9 deletions Shuttle.Esb.Process/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Shuttle.Esb.Process/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@
<value>Message type '{0}' does not map to any process type. You will need to register a resolver to determine which type of process to instantiate or add a mapping.</value>
<comment>0 = full type name of the message</comment>
</data>
<data name="MissingProcessAssessorConstructor" xml:space="preserve">
<value>Process assessor type with AssemblyQualifiedName '{0}' does not have a default constructor.</value>
<comment>0 = assembly qualified name of assessor type</comment>
<data name="ProcessMessageSpecificationConstructorException" xml:space="preserve">
<value>Process message specification type with AssemblyQualifiedName '{0}' does not have a default constructor.</value>
<comment>0 = assembly qualified name of specification type</comment>
</data>
<data name="ProcessMessageMethodMissingException" xml:space="preserve">
<value>Handler type '{0}' does not have the required ProcessMessage method that handles message type '{1}'.</value>
Expand Down
2 changes: 1 addition & 1 deletion Shuttle.Esb.Process/Shuttle.ESB.Process.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFramework>netstandard2.1</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>

Expand Down

0 comments on commit 99a8a75

Please sign in to comment.