Example #1
0
        internal DocTypeMarkupLanguageBuilder GenerateDTMLStream()
        {
            using (var objBuilder = new DocTypeObjectBuilder(this.umbracoConnectionString))
            {
                objBuilder.LoadDocTypes();

                var dtmlGen = new DocTypeMarkupLanguageBuilder(objBuilder.DocumentTypes, this.DataContextName, this.DisablePluralization);

                dtmlGen.BuildXml();

                return(dtmlGen);
            }
        }
Example #2
0
        internal DocTypeMarkupLanguageBuilder GenerateDTMLStream()
        {
            using (var objBuilder = new DocTypeObjectBuilder(this.umbracoConnectionString))
            {
                objBuilder.LoadDocTypes();

                var dtmlGen = new DocTypeMarkupLanguageBuilder(objBuilder.DocumentTypes, this.DataContextName, this.DisablePluralization);

                dtmlGen.BuildXml();

                return dtmlGen;
            }
        }
Example #3
0
        public void GenerateDTMLFile()
        {
            using (var objBuilder = new DocTypeObjectBuilder(this.umbracoConnectionString))
            {
                objBuilder.LoadDocTypes();

                var dtmlGen = new DocTypeMarkupLanguageBuilder(objBuilder.DocumentTypes, this.DataContextName, this.DisablePluralization);

                dtmlGen.BuildXml();

                dtmlGen.Save(Path.Combine(this.SavePath, (string.IsNullOrEmpty(this.DataContextName) ? "umbraco" : this.DataContextName) + fileExtension));
            }
        }
Example #4
0
        public void GenerateDTMLFile()
        {
            using (var objBuilder = new DocTypeObjectBuilder(this.umbracoConnectionString))
            {
                objBuilder.LoadDocTypes();

                var dtmlGen = new DocTypeMarkupLanguageBuilder(objBuilder.DocumentTypes, this.DataContextName, this.DisablePluralization);

                dtmlGen.BuildXml();

                dtmlGen.Save(Path.Combine(this.SavePath, (string.IsNullOrEmpty(this.DataContextName) ? "umbraco" : this.DataContextName) + fileExtension));
            }
        }