mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
* App: Add events which the app subscribes to Various events, which are relevant for the app to react to changes made on the server. * Refactor events * Do not extend NewBlockEvent * Refactoring events * Add store role events * Refactoring: Rename StoreUserEvent * Fix: Subscribe to UserEvent.Invited --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
15 lines
335 B
C#
15 lines
335 B
C#
using BTCPayServer.Payments;
|
|
|
|
namespace BTCPayServer.Events
|
|
{
|
|
public class NewBlockEvent
|
|
{
|
|
public PaymentMethodId PaymentMethodId { get; set; }
|
|
public object AdditionalInfo { get; set; }
|
|
public override string ToString()
|
|
{
|
|
return $"{PaymentMethodId}: New block";
|
|
}
|
|
}
|
|
}
|
|
|