Initial ...

This commit is contained in:
2026-03-23 19:13:06 +03:30
commit f863f49af7
14 changed files with 795 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
namespace xAiApi.DI
{
public static class XPushDIExtensions
{
/// <summary>
/// Register XPushProvider Services
/// </summary>
/// <param name="services"></param>
public static void AddXPushHubProvider(
this IServiceCollection services,
ServiceLifetime lifeTime = ServiceLifetime.Transient
)
{
AddPushHubProvider(services, lifeTime);
}
//
#region Private ...
private static void AddPushHubProvider(
this IServiceCollection services,
ServiceLifetime lifeTime = ServiceLifetime.Transient
)
{ }
#endregion
}
}