From b24e24f3f7d30165044dc8f99bc9e1db9ca7f6e2 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 2 Mar 2024 03:19:40 +0000 Subject: [PATCH] refactor: move WebHostBuilderExtensions to common lib --- .../Extensions/WebHostBuilderExtensions.cs | 3 ++- OliverBooth/Program.cs | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) rename {OliverBooth => OliverBooth.Common}/Extensions/WebHostBuilderExtensions.cs (96%) diff --git a/OliverBooth/Extensions/WebHostBuilderExtensions.cs b/OliverBooth.Common/Extensions/WebHostBuilderExtensions.cs similarity index 96% rename from OliverBooth/Extensions/WebHostBuilderExtensions.cs rename to OliverBooth.Common/Extensions/WebHostBuilderExtensions.cs index 42a83dd..e36d8be 100644 --- a/OliverBooth/Extensions/WebHostBuilderExtensions.cs +++ b/OliverBooth.Common/Extensions/WebHostBuilderExtensions.cs @@ -1,6 +1,7 @@ using System.Security.Cryptography.X509Certificates; +using Microsoft.AspNetCore.Hosting; -namespace OliverBooth.Extensions; +namespace OliverBooth.Common.Extensions; /// /// Extension methods for . diff --git a/OliverBooth/Program.cs b/OliverBooth/Program.cs index 7316a43..ff75009 100644 --- a/OliverBooth/Program.cs +++ b/OliverBooth/Program.cs @@ -7,7 +7,6 @@ using Markdig; using OliverBooth.Common.Extensions; using OliverBooth.Common.Markdown.Template; using OliverBooth.Common.Services; -using OliverBooth.Extensions; using OliverBooth.Markdown.Timestamp; using OliverBooth.Services; using Serilog;