From 2819af41e25334d25db1c5cec1d9e52820d91858 Mon Sep 17 00:00:00 2001 From: Argo-Tianyi Date: Wed, 16 Jun 2021 10:18:41 +0800 Subject: [PATCH] =?UTF-8?q?core:=20=E7=A7=BB=E9=99=A4=20BB=20=E5=B7=A5?= =?UTF-8?q?=E7=A8=8B=E4=BD=BF=E7=94=A8=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BootstrapAdmin.sln | 7 ------- .../Bootstrap.Client.Blazor.Shared.csproj | 2 +- src/blazor/Bootstrap.Client.Blazor/Program.cs | 20 ++++++++++++------- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/BootstrapAdmin.sln b/BootstrapAdmin.sln index a180cbb1..77eef7be 100644 --- a/BootstrapAdmin.sln +++ b/BootstrapAdmin.sln @@ -135,8 +135,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bootstrap.Client.Blazor", " EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Bootstrap.Client.Blazor.Shared", "src\blazor\Bootstrap.Client.Blazor.Shared\Bootstrap.Client.Blazor.Shared.csproj", "{B306BD58-1C73-40F2-86F7-E1763344007B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BootstrapBlazor", "..\BootstrapBlazor\src\BootstrapBlazor\BootstrapBlazor.csproj", "{787FA4C4-FB7D-4DCF-B27E-8F00EF0EEDE1}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -179,10 +177,6 @@ Global {B306BD58-1C73-40F2-86F7-E1763344007B}.Debug|Any CPU.Build.0 = Debug|Any CPU {B306BD58-1C73-40F2-86F7-E1763344007B}.Release|Any CPU.ActiveCfg = Release|Any CPU {B306BD58-1C73-40F2-86F7-E1763344007B}.Release|Any CPU.Build.0 = Release|Any CPU - {787FA4C4-FB7D-4DCF-B27E-8F00EF0EEDE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {787FA4C4-FB7D-4DCF-B27E-8F00EF0EEDE1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {787FA4C4-FB7D-4DCF-B27E-8F00EF0EEDE1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {787FA4C4-FB7D-4DCF-B27E-8F00EF0EEDE1}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -211,7 +205,6 @@ Global {DAE3826B-AAAB-468A-9A06-2F56EF5C0767} = {41B6D37A-5E5E-42B3-85E4-D81A81E3D757} {90BC5C25-0F93-4CDE-833C-3D8243E19D3B} = {DAE3826B-AAAB-468A-9A06-2F56EF5C0767} {B306BD58-1C73-40F2-86F7-E1763344007B} = {DAE3826B-AAAB-468A-9A06-2F56EF5C0767} - {787FA4C4-FB7D-4DCF-B27E-8F00EF0EEDE1} = {DAE3826B-AAAB-468A-9A06-2F56EF5C0767} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {221EAE38-5F75-4391-9A48-E462A9F3B8FC} diff --git a/src/blazor/Bootstrap.Client.Blazor.Shared/Bootstrap.Client.Blazor.Shared.csproj b/src/blazor/Bootstrap.Client.Blazor.Shared/Bootstrap.Client.Blazor.Shared.csproj index e0458afe..86b6a354 100644 --- a/src/blazor/Bootstrap.Client.Blazor.Shared/Bootstrap.Client.Blazor.Shared.csproj +++ b/src/blazor/Bootstrap.Client.Blazor.Shared/Bootstrap.Client.Blazor.Shared.csproj @@ -5,7 +5,7 @@ - + diff --git a/src/blazor/Bootstrap.Client.Blazor/Program.cs b/src/blazor/Bootstrap.Client.Blazor/Program.cs index 9e1d68dc..3fc9544c 100644 --- a/src/blazor/Bootstrap.Client.Blazor/Program.cs +++ b/src/blazor/Bootstrap.Client.Blazor/Program.cs @@ -1,21 +1,27 @@ -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; +using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; -using Microsoft.Extensions.Logging; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; namespace Bootstrap.Client.Blazor { + /// + /// + /// public class Program { + /// + /// + /// + /// public static void Main(string[] args) { CreateHostBuilder(args).Build().Run(); } + /// + /// + /// + /// + /// public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(webBuilder =>