// C# 10 定义全局 using

#pragma warning disable IDE0079 // 请删除不必要的忽略
#pragma warning disable IDE0005
#pragma warning disable SA1209 // Using alias directives should be placed after other using directives
#pragma warning disable SA1211 // Using alias directives should be ordered alphabetically by alias name

#if !APP_HOST
#if !NETFRAMEWORK

#if !__NOT_IMPORT_COMMON_PRIMITIVES__
global using Polly;
global using BD.Common;
global using BD.Common.Columns;
global using BD.Common.Enums;
#elif LIB_CLIENT_IPC
global using BD.Common.Enums;
#endif

#if _IMPORT_COMMON_IDENTITY__
global using BD.Common.Identity;
global using BD.Common.Identity.Abstractions;
#endif

#if !__NOT_IMPORT_COMMON_SERVICES__
global using BD.Common.Services;
global using BD.Common.Services.Implementation;
#endif

#if _IMPORT_COMMON_MIDDLEWARE__
global using BD.Common.Middleware;
#endif

#if !__NOT_IMPORT_COMMON_PRIMITIVES__ && ANDROID
global using Toast = BD.Common.Toast;
#endif

#endif
#endif
#if ANDROID
global using ToastLength = BD.Common.Enums.ToastLength;
global using AToastLength = Android.Widget.ToastLength;
#endif
