Пример #1
0
        private string RenderList(ITexplate texplate, ITexplateClause clause)
        {
            string tRet = string.Empty;

            if (clause != null)
            {
                foreach (var iClp in this.clipList)
                {
                    using (texplate.EnterContext(iClp))
                    {
                        tRet += clause.Render(texplate);
                    }
                }
            }

            return(tRet);
        }
Пример #2
0
        private string RenderPgsList(ITexplate texplate, ITexplateClause clause)
        {
            string tRet = string.Empty;

            if (clause != null)
            {
                foreach (var iPgs in this.pgsList.Values)
                {
                    using (texplate.EnterContext(iPgs))
                    {
                        tRet += clause.Render(texplate);
                    }
                }
            }

            return(tRet);
        }