public static string ToTopicTypeId(ConceptualTopicType topicType) { switch (topicType) { // Concepts case ConceptualTopicType.Conceptual: // Conceptual return("1FE70836-AA7D-4515-B54B-E10C4B516E50"); case ConceptualTopicType.SDKTechOverviewArchitecture: // SDK Technology Overview Architecture return("68F07632-C4C5-4645-8DFA-AC87DCB4BD54"); case ConceptualTopicType.SDKTechOverviewCodeDirectory: // SDK Technology Overview Code Directory return("4BBAAF90-0E5F-4C86-9D31-A5CAEE35A416"); case ConceptualTopicType.SDKTechOverviewScenarios: // SDK Technology Overview Scenarios return("356C57C4-384D-4AF2-A637-FDD6F088A033"); case ConceptualTopicType.SDKTechOverviewTechSummary: // SDK Technology Overview Technology Summary return("19F1BB0E-F32A-4D5F-80A9-211D92A8A715"); // Tasks case ConceptualTopicType.HowTo: // HowTo return("DAC3A6A0-C863-4E5B-8F65-79EFC6A4BA09"); case ConceptualTopicType.Walkthrough: // Walkthrough return("4779DD54-5D0C-4CC3-9DB3-BF1C90B721B3"); case ConceptualTopicType.Sample: // Sample return("069EFD88-412D-4E2F-8848-2D5C3AD56BDE"); case ConceptualTopicType.Troubleshooting: // Troubleshooting return("38C8E0D1-D601-4DBA-AE1B-5BEC16CD9B01"); // Reference case ConceptualTopicType.ReferenceWithoutSyntax: // Reference Without Syntax return("F9205737-4DEC-4A58-AA69-0E621B1236BD"); case ConceptualTopicType.ReferenceWithSyntax: // Reference With Syntax return("95DADC4C-A2A6-447A-AA36-B6BE3A4F8DEC"); case ConceptualTopicType.XmlReference: // XML Reference return("3272D745-2FFC-48C4-9E9D-CF2B2B784D5F"); case ConceptualTopicType.ErrorMessage: // Error Message return("A635375F-98C2-4241-94E7-E427B47C20B6"); case ConceptualTopicType.UIReference: // UI Reference return("B8ED9F21-39A4-4967-928D-160CD2ED9DCE"); // Other Resources case ConceptualTopicType.Orientation: // Orientation return("B137C930-7BF7-48A2-A329-3ADCAEF8868E"); case ConceptualTopicType.WhitePaper: // White Paper return("56DB00EC-28BA-4C0D-8694-28E8B244E236"); case ConceptualTopicType.CodeEntity: // Code Entity return("4A273212-0AC8-4D72-8349-EC11CD2FF8CD"); case ConceptualTopicType.Glossary: // Glossary return("A689E19C-2687-4881-8CE1-652FF60CF46C"); case ConceptualTopicType.SDKTechOverviewOrientation: // SDK Technology Overview Orientation return("CDB8C120-888F-447B-8AF8-F9540562E7CA"); } return(String.Empty); }
protected override void OnDocumentType(string documentTag) { base.OnDocumentType(documentTag); _topicType = ConceptualUtils.FromDocumentTag(documentTag); }
public ConceptualRelatedTopic(ConceptualRelatedTopic source) : base(source) { _topicType = source._topicType; }
public ConceptualRelatedTopic(BuildFilePath filePath, string topicTitle, string topicId) : base(filePath, topicTitle, topicId) { _topicType = ConceptualTopicType.None; }
public ConceptualRelatedTopic() { _topicType = ConceptualTopicType.None; }
public ConceptualTopic(ConceptualTopic source) : base(source) { _topicType = source._topicType; _listItems = source._listItems; }