Skip to content

Commit

Permalink
global using
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 committed Jan 13, 2025
1 parent ecd6e12 commit 1a480b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/Web/Masa.Alert.Web.Admin.WebAssembly/Program.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.

using Mapster;
using Masa.Alert.Infrastructure.Common.Extensions;
using Masa.Alert.Web.Admin;
using Microsoft.Extensions.DependencyInjection;

var builder = WebAssemblyHostBuilder.CreateDefault(args);
builder.Services.AddSingleton(sp => builder.Configuration);
//builder.Services.AddDccClient("https://dcc-service-dev.masastack.com");
Expand Down
9 changes: 4 additions & 5 deletions src/Web/Masa.Alert.Web.Admin.WebAssembly/_Imports.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
global using Microsoft.AspNetCore.Components.Web;
global using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
global using Masa.Auth.Web.Admin;
global using Masa.Contrib.StackSdks.Config;
global using Masa.Stack.Components.Extensions.OpenIdConnect;
global using Masa.Stack.Components;
global using Masa.Contrib.StackSdks.Dcc;
global using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
global using Masa.Blazor;
global using Masa.Alert.ApiGateways.Caller.Extensions;
global using Masa.Alert.ApiGateways.Caller.Extensions;
global using Mapster;
global using Masa.Alert.Infrastructure.Common.Extensions;
global using Masa.Alert.Web.Admin;

0 comments on commit 1a480b0

Please sign in to comment.