예제 #1
0
        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
        }
예제 #2
0
 private void Show(INotificationContent content)
 {
     ToastNotificationManager.CreateToastNotifier().Show(new ToastNotification(content.GetXml()));
 }