Skip to content

Commit 2c05054

Browse files
committed
🔖 1.23.10926.11939
1 parent 52fc5a1 commit 2c05054

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/BD.Common.Essentials.Utils/Browser2.utils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ static OpenResultCode OpenAnalysis(string? url)
5555
}
5656
else if (String2.IsHttpUrl(url, HttpsOnly))
5757
{
58-
if (!Essentials.IsSupported)
58+
if (!CommonEssentials.IsSupported)
5959
{
6060
return OpenCoreByProcess(url);
6161
}

src/BD.Common.Essentials.Xamarin/Extensions/ServiceCollectionExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using BD.Common.Services.Implementation.Essentials;
2-
using Essentials = BD.Common.Essentials;
2+
using CommonEssentials = BD.Common.CommonEssentials;
33
#if ANDROID
44
using DeviceInfoPlatformServiceImpl_ = BD.Common.Services.Implementation.Essentials.AndroidDeviceInfoPlatformServiceImpl;
55
#else
@@ -19,7 +19,7 @@ public static class ServiceCollectionExtensions
1919
/// <returns></returns>
2020
public static IServiceCollection TryAddEssentials<TApplicationVersionServiceImpl>(this IServiceCollection services) where TApplicationVersionServiceImpl : class, IApplicationVersionService
2121
{
22-
Essentials.IsSupported = true;
22+
CommonEssentials.IsSupported = true;
2323
services.TryAddSingleton<IApplicationVersionService, TApplicationVersionServiceImpl>();
2424
services.TryAddSingleton<IBrowserPlatformService, BrowserPlatformServiceImpl>();
2525
services.TryAddSingleton<IClipboardPlatformService, ClipboardPlatformServiceImpl>();

src/BD.Common.Essentials/Essentials.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace BD.Common;
22

3-
public static partial class Essentials
3+
public static partial class CommonEssentials
44
{
55
public static bool IsSupported { get; internal set; }
66

src/BD.Common.Essentials/Extensions/ServiceCollectionExtensions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using Essentials = BD.Common.Essentials;
1+
using CommonEssentials = BD.Common.CommonEssentials;
22

33
// ReSharper disable once CheckNamespace
44
namespace Microsoft.Extensions.DependencyInjection;
@@ -16,7 +16,7 @@ public static IServiceCollection AddSaveFileDialogService<T>(
1616
this IServiceCollection services)
1717
where T : class, IFilePickerPlatformService.ISaveFileDialogService
1818
{
19-
Essentials.IsSupportedSaveFileDialog = true;
19+
CommonEssentials.IsSupportedSaveFileDialog = true;
2020
services.AddSingleton<IFilePickerPlatformService.ISaveFileDialogService, T>();
2121
return services;
2222
}
@@ -32,7 +32,7 @@ public static IServiceCollection TryAddSaveFileDialogService(
3232
this IServiceCollection services,
3333
Func<IServiceProvider, IFilePickerPlatformService.ISaveFileDialogService> implementationFactory)
3434
{
35-
Essentials.IsSupportedSaveFileDialog = true;
35+
CommonEssentials.IsSupportedSaveFileDialog = true;
3636
services.TryAddSingleton(implementationFactory);
3737
return services;
3838
}

src/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ImplicitUsings>enable</ImplicitUsings>
1111
<IsTrimmable>true</IsTrimmable>
1212
<!--<Version>1.yy.1MMdd.1hhmm</Version>-->
13-
<Version>1.23.10926.11820</Version>
13+
<Version>1.23.10926.11939</Version>
1414
<PackageIconUrl>https://avatars.githubusercontent.com/u/79355691?s=200&amp;v=4</PackageIconUrl>
1515
<Company>江苏蒸汽凡星科技有限公司</Company>
1616
<Copyright>©️ $(Company). All rights reserved.</Copyright>

0 commit comments

Comments
 (0)