/// <summary> /// Initializes a new instance of the <see cref="ConceptualEngineSettings"/> class /// with the default parameters. /// </summary> public ConceptualEngineSettings() : base("Sandcastle.Conceptual.ConceptualEngineSettings", BuildEngineType.Conceptual) { IBuildNamedList <BuildComponentConfiguration> componentConfigurations = this.ComponentConfigurations; if (componentConfigurations != null) { ConceptualPreTransConfiguration preTrans = new ConceptualPreTransConfiguration(); ConceptualIntelliSenseConfiguration intelliSense = new ConceptualIntelliSenseConfiguration(); ConceptualCloneConfiguration cloneDocument = new ConceptualCloneConfiguration(); ConceptualPostTransConfiguration postTrans = new ConceptualPostTransConfiguration(); ConceptualCodeConfiguration codeComponent = new ConceptualCodeConfiguration(); ConceptualMathConfiguration mathComponent = new ConceptualMathConfiguration(); ConceptualMediaConfiguration mediaComponent = new ConceptualMediaConfiguration(); ConceptualLinkConfiguration topicLinkComponent = new ConceptualLinkConfiguration(); ConceptualReferenceLinkConfiguration referenceLinkComponent = new ConceptualReferenceLinkConfiguration(); ConceptualSharedConfiguration sharedComponent = new ConceptualSharedConfiguration(); componentConfigurations.Add(preTrans); componentConfigurations.Add(intelliSense); componentConfigurations.Add(codeComponent); componentConfigurations.Add(mathComponent); componentConfigurations.Add(mediaComponent); componentConfigurations.Add(postTrans); componentConfigurations.Add(cloneDocument); componentConfigurations.Add(topicLinkComponent); componentConfigurations.Add(referenceLinkComponent); componentConfigurations.Add(sharedComponent); } }
/// <summary> /// Initializes a new instance of the <see cref="ReferenceEngineSettings"/> class /// with the default parameters. /// </summary> public ReferenceEngineSettings() : base("Sandcastle.References.ReferenceEngineSettings", BuildEngineType.Reference) { _webMvcSdkType = BuildSpecialSdkType.Null; _rootContainer = false; _embedScriptSharp = true; _includeAllMembersTopic = true; _includeInheritedOverloadTopics = true; _refNamer = ReferenceNamer.Orcas; _refNaming = ReferenceNamingMethod.Guid; IBuildNamedList <BuildConfiguration> configurations = this.Configurations; if (configurations != null) { // For the ReferenceVisitors... ReferenceCommentConfiguration comments = new ReferenceCommentConfiguration(); ReferenceSpellCheckConfiguration spellCheck = new ReferenceSpellCheckConfiguration(); ReferenceVisibilityConfiguration documentVisibility = new ReferenceVisibilityConfiguration(); ReferenceXPathConfiguration pathDocumentVisibility = new ReferenceXPathConfiguration(); pathDocumentVisibility.Enabled = false; // For the ReferenceTocVistors... ReferenceTocExcludeConfiguration excludeToc = new ReferenceTocExcludeConfiguration(); ReferenceTocLayoutConfiguration layoutToc = new ReferenceTocLayoutConfiguration(); configurations.Add(comments); configurations.Add(documentVisibility); configurations.Add(pathDocumentVisibility); configurations.Add(spellCheck); configurations.Add(excludeToc); configurations.Add(layoutToc); } IBuildNamedList <BuildComponentConfiguration> componentConfigurations = this.ComponentConfigurations; if (componentConfigurations != null) { ReferencePreTransConfiguration preTrans = new ReferencePreTransConfiguration(); ReferenceMissingTagsConfiguration missingTags = new ReferenceMissingTagsConfiguration(); ReferenceAutoDocConfiguration autoDocument = new ReferenceAutoDocConfiguration(); ReferenceIntelliSenseConfiguration intelliSense = new ReferenceIntelliSenseConfiguration(); ReferencePlatformsConfiguration platforms = new ReferencePlatformsConfiguration(); ReferenceCloneConfiguration cloneDocument = new ReferenceCloneConfiguration(); ReferencePostTransConfiguration postTrans = new ReferencePostTransConfiguration(); ReferenceCodeConfiguration codeComponent = new ReferenceCodeConfiguration(); ReferenceMathConfiguration mathComponent = new ReferenceMathConfiguration(); ReferenceMediaConfiguration mediaComponent = new ReferenceMediaConfiguration(); ReferenceLinkConfiguration linkComponent = new ReferenceLinkConfiguration(); ReferenceSharedConfiguration sharedComponent = new ReferenceSharedConfiguration(); componentConfigurations.Add(preTrans); componentConfigurations.Add(autoDocument); componentConfigurations.Add(missingTags); componentConfigurations.Add(intelliSense); componentConfigurations.Add(platforms); componentConfigurations.Add(cloneDocument); componentConfigurations.Add(postTrans); componentConfigurations.Add(codeComponent); componentConfigurations.Add(mathComponent); componentConfigurations.Add(mediaComponent); componentConfigurations.Add(linkComponent); componentConfigurations.Add(sharedComponent); } }