namespace ArticleTracker.Platforms.Windows
{
public class PushNotificationManager : IPushNotificationManager
{
public void SendNotification(string title, string message)
{
var notification = new AppNotificationBuilder()
.AddText(title)
.AddText(message)
.BuildNotification();
AppNotificationManager.Default.Show(notification);
}
}
}
Вот еще: failure was caused by taking the address of an object that does not have static storage duration.
Теперь ясно что надо было static. Я это ошибку не увидел