diff --git a/src/BD.Common.Essentials.Utils/Browser2.utils.cs b/src/BD.Common.Essentials.Utils/Browser2.utils.cs
index fa6605eef..fb4fef80c 100644
--- a/src/BD.Common.Essentials.Utils/Browser2.utils.cs
+++ b/src/BD.Common.Essentials.Utils/Browser2.utils.cs
@@ -55,7 +55,7 @@ static OpenResultCode OpenAnalysis(string? url)
}
else if (String2.IsHttpUrl(url, HttpsOnly))
{
- if (!Essentials.IsSupported)
+ if (!CommonEssentials.IsSupported)
{
return OpenCoreByProcess(url);
}
diff --git a/src/BD.Common.Essentials.Xamarin/Extensions/ServiceCollectionExtensions.cs b/src/BD.Common.Essentials.Xamarin/Extensions/ServiceCollectionExtensions.cs
index 5cd02f2c3..be4523035 100644
--- a/src/BD.Common.Essentials.Xamarin/Extensions/ServiceCollectionExtensions.cs
+++ b/src/BD.Common.Essentials.Xamarin/Extensions/ServiceCollectionExtensions.cs
@@ -1,5 +1,5 @@
using BD.Common.Services.Implementation.Essentials;
-using Essentials = BD.Common.Essentials;
+using CommonEssentials = BD.Common.CommonEssentials;
#if ANDROID
using DeviceInfoPlatformServiceImpl_ = BD.Common.Services.Implementation.Essentials.AndroidDeviceInfoPlatformServiceImpl;
#else
@@ -19,7 +19,7 @@ public static class ServiceCollectionExtensions
///
public static IServiceCollection TryAddEssentials(this IServiceCollection services) where TApplicationVersionServiceImpl : class, IApplicationVersionService
{
- Essentials.IsSupported = true;
+ CommonEssentials.IsSupported = true;
services.TryAddSingleton();
services.TryAddSingleton();
services.TryAddSingleton();
diff --git a/src/BD.Common.Essentials/Essentials.cs b/src/BD.Common.Essentials/Essentials.cs
index 9ab3be886..cd2e1babb 100644
--- a/src/BD.Common.Essentials/Essentials.cs
+++ b/src/BD.Common.Essentials/Essentials.cs
@@ -1,6 +1,6 @@
namespace BD.Common;
-public static partial class Essentials
+public static partial class CommonEssentials
{
public static bool IsSupported { get; internal set; }
diff --git a/src/BD.Common.Essentials/Extensions/ServiceCollectionExtensions.cs b/src/BD.Common.Essentials/Extensions/ServiceCollectionExtensions.cs
index 0de5e113a..500431f1e 100644
--- a/src/BD.Common.Essentials/Extensions/ServiceCollectionExtensions.cs
+++ b/src/BD.Common.Essentials/Extensions/ServiceCollectionExtensions.cs
@@ -1,4 +1,4 @@
-using Essentials = BD.Common.Essentials;
+using CommonEssentials = BD.Common.CommonEssentials;
// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.DependencyInjection;
@@ -16,7 +16,7 @@ public static IServiceCollection AddSaveFileDialogService(
this IServiceCollection services)
where T : class, IFilePickerPlatformService.ISaveFileDialogService
{
- Essentials.IsSupportedSaveFileDialog = true;
+ CommonEssentials.IsSupportedSaveFileDialog = true;
services.AddSingleton();
return services;
}
@@ -32,7 +32,7 @@ public static IServiceCollection TryAddSaveFileDialogService(
this IServiceCollection services,
Func implementationFactory)
{
- Essentials.IsSupportedSaveFileDialog = true;
+ CommonEssentials.IsSupportedSaveFileDialog = true;
services.TryAddSingleton(implementationFactory);
return services;
}
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
index 3d25c8557..409a8ce2c 100644
--- a/src/Directory.Build.props
+++ b/src/Directory.Build.props
@@ -10,7 +10,7 @@
enable
true
- 1.23.10926.11820
+ 1.23.10926.11939
https://avatars.githubusercontent.com/u/79355691?s=200&v=4
江苏蒸汽凡星科技有限公司
©️ $(Company). All rights reserved.