From ac35d45469a816db4d44d70df326973f8091c826 Mon Sep 17 00:00:00 2001 From: Eben Date: Mon, 5 Aug 2024 17:05:43 +0200 Subject: [PATCH] Formatting --- Shuttle.Core.Pipelines/Pipeline.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Shuttle.Core.Pipelines/Pipeline.cs b/Shuttle.Core.Pipelines/Pipeline.cs index 61d7f44..6391170 100644 --- a/Shuttle.Core.Pipelines/Pipeline.cs +++ b/Shuttle.Core.Pipelines/Pipeline.cs @@ -167,8 +167,7 @@ public IPipelineStage GetStage(string name) var result = Stages.Find(stage => stage.Name.Equals(name, StringComparison.InvariantCultureIgnoreCase)); - Guard.Against(result == null, - string.Format(Resources.PipelineStageNotFound, name)); + Guard.Against(result == null, string.Format(Resources.PipelineStageNotFound, name)); return result; } @@ -310,8 +309,7 @@ private async Task RaiseEventAsync(IPipelineEvent @event, bool ignoreAbort, bool } catch (Exception ex) { - throw new PipelineException( - string.Format(_raisingPipelineEvent, @event.Name, StageName, observer.GetObserverTypeName()), ex); + throw new PipelineException(string.Format(_raisingPipelineEvent, @event.Name, StageName, observer.GetObserverTypeName()), ex); } if (Aborted && !ignoreAbort)