mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
33 lines
714 B
C#
33 lines
714 B
C#
using System;
|
|
|
|
namespace BTCPayServer.Services.Notifications
|
|
{
|
|
public class AdminScope : NotificationScope
|
|
{
|
|
public AdminScope()
|
|
{
|
|
}
|
|
}
|
|
public class StoreScope : NotificationScope
|
|
{
|
|
public StoreScope(string storeId)
|
|
{
|
|
ArgumentNullException.ThrowIfNull(storeId);
|
|
StoreId = storeId;
|
|
}
|
|
public string StoreId { get; }
|
|
}
|
|
public class UserScope : NotificationScope
|
|
{
|
|
public UserScope(string userId)
|
|
{
|
|
ArgumentNullException.ThrowIfNull(userId);
|
|
UserId = userId;
|
|
}
|
|
public string UserId { get; }
|
|
}
|
|
|
|
public interface NotificationScope
|
|
{
|
|
}
|
|
}
|