diff --git a/Modules/Reflection/Adjustments.cs b/Modules/Reflection/Adjustments.cs
index 1d2af559..a91a7fc9 100644
--- a/Modules/Reflection/Adjustments.cs
+++ b/Modules/Reflection/Adjustments.cs
@@ -8,12 +8,16 @@ namespace GenHTTP.Modules.Reflection
internal static class Adjustments
{
+ ///
+ /// Allows to chain the execution of the given adjustments into
+ /// the given response builder.
+ ///
+ /// The response builder to be adjusted
+ /// The adjustments to be executed (if any)
+ /// The response builder to be chained
internal static IResponseBuilder Adjust(this IResponseBuilder builder, Action? adjustments)
{
- if (adjustments != null)
- {
- adjustments(builder);
- }
+ adjustments?.Invoke(builder);
return builder;
}
diff --git a/Modules/Reflection/GenHTTP.Modules.Reflection.csproj b/Modules/Reflection/GenHTTP.Modules.Reflection.csproj
index e55f5b12..515f2463 100644
--- a/Modules/Reflection/GenHTTP.Modules.Reflection.csproj
+++ b/Modules/Reflection/GenHTTP.Modules.Reflection.csproj
@@ -25,8 +25,8 @@
true
snupkg
- true
- CS1591,CS1587,CS1572,CS1573
+ true
+ CS1591,CS1587,CS1572,CS1573
icon.png
@@ -43,7 +43,7 @@
-
+