From a939c3442595ec25990bf331381caeb2cf1aaa6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9on=20Avic=20Simmons?= Date: Sun, 6 Sep 2026 05:02:08 -0400 Subject: [PATCH] fix: correct typos in WebUI error message and XML doc comments --- src/Rules.Framework.WebUI/Handlers/GetRulesHandler.cs | 2 +- src/Rules.Framework/Builder/IRuleBuilder.cs | 2 +- .../Providers/InMemory/InMemoryProviderRulesDataSource.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Rules.Framework.WebUI/Handlers/GetRulesHandler.cs b/src/Rules.Framework.WebUI/Handlers/GetRulesHandler.cs index cf7c00d7..b2011f80 100644 --- a/src/Rules.Framework.WebUI/Handlers/GetRulesHandler.cs +++ b/src/Rules.Framework.WebUI/Handlers/GetRulesHandler.cs @@ -34,7 +34,7 @@ protected override async Task HandleRequestAsync(HttpRequest httpRequest, if (!IsValidFilterDates(rulesFilter)) { - await this.WriteResponseAsync(httpResponse, new { Message = "Date begin cannot be greater than after" }, (int)HttpStatusCode.BadRequest) + await this.WriteResponseAsync(httpResponse, new { Message = "Date begin cannot be greater than date end" }, (int)HttpStatusCode.BadRequest) .ConfigureAwait(false); return; diff --git a/src/Rules.Framework/Builder/IRuleBuilder.cs b/src/Rules.Framework/Builder/IRuleBuilder.cs index aaac41aa..bf1d710e 100644 --- a/src/Rules.Framework/Builder/IRuleBuilder.cs +++ b/src/Rules.Framework/Builder/IRuleBuilder.cs @@ -45,7 +45,7 @@ public interface IRuleBuilder /// Sets the new rule with a value condition with the specified parameters. /// /// The type of the data type. - /// The content type. + /// The condition type. /// The operator. /// The operand. /// diff --git a/src/Rules.Framework/Providers/InMemory/InMemoryProviderRulesDataSource.cs b/src/Rules.Framework/Providers/InMemory/InMemoryProviderRulesDataSource.cs index 2232e333..238959b2 100644 --- a/src/Rules.Framework/Providers/InMemory/InMemoryProviderRulesDataSource.cs +++ b/src/Rules.Framework/Providers/InMemory/InMemoryProviderRulesDataSource.cs @@ -6,7 +6,7 @@ namespace Rules.Framework.Providers.InMemory using Rules.Framework.Core; /// - /// The rules data source implementation for usage backed with a in-memory database. + /// The rules data source implementation for usage backed with an in-memory database. /// /// The type of the content type. /// The type of the condition type.