First Commit

This commit is contained in:
Jorge Luis caudillo esparza
2026-05-09 16:36:57 -07:00
parent 96ad4c0d3e
commit d0c284d9c0
131 changed files with 4009 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
using System.Threading;
using System.Threading.Tasks;
using ADS.Helpers.NotifyCenter.Models;
namespace ADS.Helpers.NotifyCenter.Abstractions;
public interface INotificationProvider
{
NotificationChannel Channel { get; }
string Name { get; }
Task<NotificationResult> SendAsync(NotificationMessage message, CancellationToken ct = default);
}

View File

@@ -0,0 +1,10 @@
using System.Threading;
using System.Threading.Tasks;
namespace ADS.Helpers.NotifyCenter.Abstractions;
public interface INotificationSettingsProvider
{
Task<TSettings> GetAsync<TSettings>(string tenantId, CancellationToken ct = default)
where TSettings : class, new();
}

View File

@@ -0,0 +1,10 @@
using System.Threading;
using System.Threading.Tasks;
using ADS.Helpers.NotifyCenter.Models;
namespace ADS.Helpers.NotifyCenter.Abstractions;
public interface INotifyCenter
{
Task<NotificationResult> SendAsync(NotificationMessage message, CancellationToken ct = default);
}