btcpayserver/BTCPayServer/Events/Notifications/NotificationsHelperExt.cs
2020-06-14 23:49:08 -05:00

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
});
}
}
}