Skip to content

Commit

Permalink
🔖 1.23.10926.11939
Browse files Browse the repository at this point in the history
  • Loading branch information
AigioL committed Sep 26, 2023
1 parent 52fc5a1 commit 2c05054
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/BD.Common.Essentials.Utils/Browser2.utils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static OpenResultCode OpenAnalysis(string? url)
}
else if (String2.IsHttpUrl(url, HttpsOnly))
{
if (!Essentials.IsSupported)
if (!CommonEssentials.IsSupported)
{
return OpenCoreByProcess(url);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -19,7 +19,7 @@ public static class ServiceCollectionExtensions
/// <returns></returns>
public static IServiceCollection TryAddEssentials<TApplicationVersionServiceImpl>(this IServiceCollection services) where TApplicationVersionServiceImpl : class, IApplicationVersionService
{
Essentials.IsSupported = true;
CommonEssentials.IsSupported = true;
services.TryAddSingleton<IApplicationVersionService, TApplicationVersionServiceImpl>();
services.TryAddSingleton<IBrowserPlatformService, BrowserPlatformServiceImpl>();
services.TryAddSingleton<IClipboardPlatformService, ClipboardPlatformServiceImpl>();
Expand Down
2 changes: 1 addition & 1 deletion src/BD.Common.Essentials/Essentials.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
namespace BD.Common;

public static partial class Essentials
public static partial class CommonEssentials
{
public static bool IsSupported { get; internal set; }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Essentials = BD.Common.Essentials;
using CommonEssentials = BD.Common.CommonEssentials;

// ReSharper disable once CheckNamespace
namespace Microsoft.Extensions.DependencyInjection;
Expand All @@ -16,7 +16,7 @@ public static IServiceCollection AddSaveFileDialogService<T>(
this IServiceCollection services)
where T : class, IFilePickerPlatformService.ISaveFileDialogService
{
Essentials.IsSupportedSaveFileDialog = true;
CommonEssentials.IsSupportedSaveFileDialog = true;
services.AddSingleton<IFilePickerPlatformService.ISaveFileDialogService, T>();
return services;
}
Expand All @@ -32,7 +32,7 @@ public static IServiceCollection TryAddSaveFileDialogService(
this IServiceCollection services,
Func<IServiceProvider, IFilePickerPlatformService.ISaveFileDialogService> implementationFactory)
{
Essentials.IsSupportedSaveFileDialog = true;
CommonEssentials.IsSupportedSaveFileDialog = true;
services.TryAddSingleton(implementationFactory);
return services;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<ImplicitUsings>enable</ImplicitUsings>
<IsTrimmable>true</IsTrimmable>
<!--<Version>1.yy.1MMdd.1hhmm</Version>-->
<Version>1.23.10926.11820</Version>
<Version>1.23.10926.11939</Version>
<PackageIconUrl>https://avatars.githubusercontent.com/u/79355691?s=200&amp;v=4</PackageIconUrl>
<Company>江苏蒸汽凡星科技有限公司</Company>
<Copyright>©️ $(Company). All rights reserved.</Copyright>
Expand Down

0 comments on commit 2c05054

Please sign in to comment.