mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
34 lines
714 B
C#
34 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
|
|
{
|
|
}
|
|
}
|