Skip to content

Instantly share code, notes, and snippets.

@MartinZikmund
Created September 1, 2021 22:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinZikmund/d4b76b4c2ca494e1cc80e096c32efd1d to your computer and use it in GitHub Desktop.
Save MartinZikmund/d4b76b4c2ca494e1cc80e096c32efd1d to your computer and use it in GitHub Desktop.
public static partial class BadgeUpdateManager
{
public static BadgeUpdater CreateBadgeUpdaterForApplication() => new BadgeUpdater();
public static XmlDocument GetTemplateContent(BadgeTemplateType type)
{
// Although UWP has two "template types", both return the same XML.
var xml = new XmlDocument();
xml.LoadXml("<badge value=\"\" />");
return xml;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment