Ejemplo n.º 1
0
        /// <summary>
        /// Display the adaptive content
        /// </summary>
        /// <param name="adaptiveContent"></param>
        public ParseResult Initialize(string adaptiveContent)
        {
            ParseResult result = _parser.ParseAdaptiveContent(adaptiveContent, FeatureSet.Get(FeatureSet.GetCurrentDeviceFamily(), FeatureSet.GetCurrentOSBuildNumber()));

            if (result.IsOkForRender())
            {
                InitializeContent(result.AdaptiveContent);
            }

            return(result);
        }