Example #1
0
        public static string GetTopBlocks(XmlTag topBlock, List <CustomWrapper> lstWrappers, int Mode)
        {
            StringBuilder sb = new StringBuilder();

            try
            {
                sb.Append(topBlock.LSTChildNodes.Count == 0 ? HtmlBuilder.GetTopBlockMarkupDefault() : BlockParser.ProcessPlaceholder(topBlock, lstWrappers, Mode));
                return(sb.ToString());
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }