Initial ...
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user