private void WriteResolveReferenceLinks(XmlWriter writer) { ConceptualReferenceLinkConfiguration linkConfig = _engineSettings.ReferenceLinks; Debug.Assert(linkConfig != null, "There is no reference link configuration available."); if (linkConfig == null) { return; } linkConfig.Initialize(this.Context, this.Format); //<component type="Sandcastle.Components.ReferenceLinkComponent" assembly="$(SandAssistComponent)"> //<targets base="%DXROOT%\Data\Reflection\" recurse="true" // files="*.xml" type="msdn" /> //<targets base=".\" recurse="false" // files=".\reflection.xml" type="local" /> //</component> writer.WriteComment(" Resolve reference links "); writer.WriteStartElement("component"); // start - component writer.WriteAttributeString("type", "Sandcastle.Components.ReferenceLinkComponent"); writer.WriteAttributeString("assembly", "$(SandAssistComponent)"); linkConfig.Configure(this.Group, writer); writer.WriteEndElement(); // end - component linkConfig.Uninitialize(); }
/// <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> /// This creates a new build object that is a deep copy of the current /// instance. /// </summary> /// <returns> /// A new build object that is a deep copy of this instance. /// </returns> public override BuildComponentConfiguration Clone() { ConceptualReferenceLinkConfiguration options = new ConceptualReferenceLinkConfiguration(this); return(options); }
/// <summary> /// Initializes a new instance of the <see cref="ConceptualReferenceLinkConfiguration"/> class /// with parameters copied from the specified instance of the /// <see cref="ConceptualReferenceLinkConfiguration"/> class, a copy constructor. /// </summary> /// <param name="source"> /// An instance of the <see cref="ConceptualReferenceLinkConfiguration"/> class from which the /// initialization parameters or values will be copied. /// </param> /// <exception cref="ArgumentNullException"> /// If the parameter <paramref name="source"/> is <see langword="null"/>. /// </exception> public ConceptualReferenceLinkConfiguration( ConceptualReferenceLinkConfiguration source) : base(source) { }