mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-25 23:20:33 +01:00
19 lines
450 B
C#
19 lines
450 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer.Events.Notifications
|
|
{
|
|
public static class NotificationsHelperExt
|
|
{
|
|
public static void NoticeNewVersion(this EventAggregator aggr, string version)
|
|
{
|
|
aggr.Publish(new NewVersionNotification
|
|
{
|
|
Version = version
|
|
});
|
|
}
|
|
}
|
|
}
|