mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-24 02:39:46 +08:00
security fix
This commit is contained in:
@@ -9,6 +9,14 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public static class ServiceCollectionExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// 尝试添加适用于Desktop的Toast
|
||||
/// </summary>
|
||||
/// <param name="services"></param>
|
||||
/// <returns></returns>
|
||||
public static IServiceCollection TryAddToast(this IServiceCollection services)
|
||||
=> PlatformToastImpl.TryAddToast(services);
|
||||
|
||||
/// <summary>
|
||||
/// 添加桌面端日志实现
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user