コード例 #1
0
        /// <summary>
        /// Updates the tile with the notification. If the tile payload has an error, the tile will not be updated. The first error, or multiple warnings, will be reported via the returned ParseResult.
        /// </summary>
        /// <param name="notification"></param>
        /// <returns></returns>
        public ParseResult Update(TileNotification notification)
        {
            ParseResult result = _parser.Parse(notification.Content.GetXml(), _previewTile.CurrFeatureSet);

            if (result.IsOkForRender())
            {
                _previewTile.Show(result.Tile, true);
            }

            return(result);
        }