Beispiel #1
0
            public override void Uninitialize()
            {
                if (_manifestWriter != null)
                {
                    _manifestWriter.WriteEndElement();       // end - topics
                    _manifestWriter.WriteEndDocument();

                    _manifestWriter.Close();
                    _manifestWriter = null;
                }

                if (_listMarkers != null && _listMarkers.Count != 0)
                {
                    ConceptualGroupContext groupContext =
                        _context.GroupContexts[_group.Id] as ConceptualGroupContext;
                    if (groupContext == null)
                    {
                        throw new BuildException(
                                  "The group context is not provided, and it is required by the build system.");
                    }

                    groupContext.MarkerTopics = _listMarkers;

                    // Raise the TOC Markers exist flag...
                    _context["$HelpTocMarkers"] = Boolean.TrueString;
                }
            }
 public ConceptualGroupContext(ConceptualGroupContext context)
     : base(context)
 {
 }
        public override BuildGroupContext Clone()
        {
            ConceptualGroupContext groupContext = new ConceptualGroupContext(this);

            return(groupContext);
        }