Browse Source

Rename InitializeAsync to InitializeApplicationAsync

pull/11093/head
liangshiwei 4 years ago
parent
commit
70a648095c
  1. 2
      framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Microsoft/AspNetCore/Components/WebAssembly/Hosting/AbpWebAssemblyHostBuilderExtensions.cs
  2. 2
      templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/Program.cs
  3. 2
      templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/Program.cs

2
framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Microsoft/AspNetCore/Components/WebAssembly/Hosting/AbpWebAssemblyHostBuilderExtensions.cs

@ -65,7 +65,7 @@ public static class AbpWebAssemblyHostBuilderExtensions
return application;
}
public async static Task InitializeAsync(
public async static Task InitializeApplicationAsync(
[NotNull] this IAbpApplicationWithExternalServiceProvider application,
[NotNull] IServiceProvider serviceProvider)
{

2
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/Program.cs

@ -16,7 +16,7 @@ public class Program
var host = builder.Build();
await application.InitializeAsync(host.Services);
await application.InitializeApplicationAsync(host.Services);
await host.RunAsync();
}

2
templates/module/aspnet-core/host/MyCompanyName.MyProjectName.Blazor.Host/Program.cs

@ -16,7 +16,7 @@ public class Program
var host = builder.Build();
await application.InitializeAsync(host.Services);
await application.InitializeApplicationAsync(host.Services);
await host.RunAsync();
}

Loading…
Cancel
Save