Exemple #1
0
 /// <summary>
 /// Add Text to the tile template
 /// </summary>
 /// <param name="tile"></param>
 /// <param name="tileText"></param>
 /// <returns></returns>
 public static XmlDocument AddText(this XmlDocument tile, IList <string> tileText)
 {
     return(NotificationTileXmlHelper.SetTileText(tile, tileText));
 }
Exemple #2
0
 /// <summary>
 /// Merge two or more tile templates into one.
 /// Useful for setting SMALL and WIDE tiles
 /// </summary>
 /// <param name="tiles"></param>
 /// <returns></returns>
 public static XmlDocument MergeTiles(this IEnumerable <XmlDocument> tiles)
 {
     return(NotificationTileXmlHelper.CreateMergedTile(tiles));
 }
Exemple #3
0
 /// <summary>
 /// Add Image URL's and ALT text to the tile template
 /// </summary>
 /// <param name="tile"></param>
 /// <param name="imageUrl"></param>
 /// <param name="imageAlt"></param>
 /// <returns></returns>
 public static XmlDocument AddImages(this XmlDocument tile, IList <string> imageUrl, IList <string> imageAlt = null)
 {
     return(NotificationTileXmlHelper.SetTileImages(tile, imageUrl, imageAlt));
 }