From 3d93e4420111b95c23f69855534eb0261ecdeb03 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 29 Nov 2020 09:11:46 +0100 Subject: [PATCH] Mini cleanup --- .../HandleRules/RuleService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/Squidex.Domain.Apps.Core.Operations/HandleRules/RuleService.cs b/backend/src/Squidex.Domain.Apps.Core.Operations/HandleRules/RuleService.cs index 1813ccb1a..898ec8ba7 100644 --- a/backend/src/Squidex.Domain.Apps.Core.Operations/HandleRules/RuleService.cs +++ b/backend/src/Squidex.Domain.Apps.Core.Operations/HandleRules/RuleService.cs @@ -24,7 +24,7 @@ using Squidex.Log; namespace Squidex.Domain.Apps.Core.HandleRules { - public class RuleService : IRuleService + public sealed class RuleService : IRuleService { private readonly Dictionary ruleActionHandlers; private readonly Dictionary ruleTriggerHandlers; @@ -130,7 +130,7 @@ namespace Squidex.Domain.Apps.Core.HandleRules } } - public virtual async Task> CreateJobsAsync(Rule rule, DomainId ruleId, Envelope @event, bool ignoreStale = true) + public async Task> CreateJobsAsync(Rule rule, DomainId ruleId, Envelope @event, bool ignoreStale = true) { Guard.NotNull(rule, nameof(rule)); Guard.NotNull(@event, nameof(@event)); @@ -261,7 +261,7 @@ namespace Squidex.Domain.Apps.Core.HandleRules } } - public virtual async Task<(Result Result, TimeSpan Elapsed)> InvokeAsync(string actionName, string job) + public async Task<(Result Result, TimeSpan Elapsed)> InvokeAsync(string actionName, string job) { var actionWatch = ValueStopwatch.StartNew();