private static void AssertPayload(string expectedXml, INotificationContent notificationContent) { AssertHelper.AssertXml(expectedXml, notificationContent.GetContent()); #if WINDOWS_UWP // For WinRT, we'll test the XmlDocument method too, make sure it works. AssertHelper.AssertXml(expectedXml, notificationContent.GetXml().GetXml()); #endif }
private void Show(INotificationContent content) { ToastNotificationManager.CreateToastNotifier().Show(new ToastNotification(content.GetXml())); }