diff options
Diffstat (limited to 'src/ext/VisualStudio/wixext/Symbols/HelpFileSymbol.cs')
-rw-r--r-- | src/ext/VisualStudio/wixext/Symbols/HelpFileSymbol.cs | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/src/ext/VisualStudio/wixext/Symbols/HelpFileSymbol.cs b/src/ext/VisualStudio/wixext/Symbols/HelpFileSymbol.cs deleted file mode 100644 index 8078f4ab..00000000 --- a/src/ext/VisualStudio/wixext/Symbols/HelpFileSymbol.cs +++ /dev/null | |||
@@ -1,95 +0,0 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset.VisualStudio | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.VisualStudio.Symbols; | ||
7 | |||
8 | public static partial class VSSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition HelpFile = new IntermediateSymbolDefinition( | ||
11 | VSSymbolDefinitionType.HelpFile.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HelpFileName), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.LangID), IntermediateFieldType.Number), | ||
16 | new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HxSFileRef), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HxIFileRef), IntermediateFieldType.String), | ||
18 | new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HxQFileRef), IntermediateFieldType.String), | ||
19 | new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.HxRFileRef), IntermediateFieldType.String), | ||
20 | new IntermediateFieldDefinition(nameof(HelpFileSymbolFields.SamplesFileRef), IntermediateFieldType.String), | ||
21 | }, | ||
22 | typeof(HelpFileSymbol)); | ||
23 | } | ||
24 | } | ||
25 | |||
26 | namespace WixToolset.VisualStudio.Symbols | ||
27 | { | ||
28 | using WixToolset.Data; | ||
29 | |||
30 | public enum HelpFileSymbolFields | ||
31 | { | ||
32 | HelpFileName, | ||
33 | LangID, | ||
34 | HxSFileRef, | ||
35 | HxIFileRef, | ||
36 | HxQFileRef, | ||
37 | HxRFileRef, | ||
38 | SamplesFileRef, | ||
39 | } | ||
40 | |||
41 | public class HelpFileSymbol : IntermediateSymbol | ||
42 | { | ||
43 | public HelpFileSymbol() : base(VSSymbolDefinitions.HelpFile, null, null) | ||
44 | { | ||
45 | } | ||
46 | |||
47 | public HelpFileSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(VSSymbolDefinitions.HelpFile, sourceLineNumber, id) | ||
48 | { | ||
49 | } | ||
50 | |||
51 | public IntermediateField this[HelpFileSymbolFields index] => this.Fields[(int)index]; | ||
52 | |||
53 | public string HelpFileName | ||
54 | { | ||
55 | get => this.Fields[(int)HelpFileSymbolFields.HelpFileName].AsString(); | ||
56 | set => this.Set((int)HelpFileSymbolFields.HelpFileName, value); | ||
57 | } | ||
58 | |||
59 | public int? LangID | ||
60 | { | ||
61 | get => this.Fields[(int)HelpFileSymbolFields.LangID].AsNullableNumber(); | ||
62 | set => this.Set((int)HelpFileSymbolFields.LangID, value); | ||
63 | } | ||
64 | |||
65 | public string HxSFileRef | ||
66 | { | ||
67 | get => this.Fields[(int)HelpFileSymbolFields.HxSFileRef].AsString(); | ||
68 | set => this.Set((int)HelpFileSymbolFields.HxSFileRef, value); | ||
69 | } | ||
70 | |||
71 | public string HxIFileRef | ||
72 | { | ||
73 | get => this.Fields[(int)HelpFileSymbolFields.HxIFileRef].AsString(); | ||
74 | set => this.Set((int)HelpFileSymbolFields.HxIFileRef, value); | ||
75 | } | ||
76 | |||
77 | public string HxQFileRef | ||
78 | { | ||
79 | get => this.Fields[(int)HelpFileSymbolFields.HxQFileRef].AsString(); | ||
80 | set => this.Set((int)HelpFileSymbolFields.HxQFileRef, value); | ||
81 | } | ||
82 | |||
83 | public string HxRFileRef | ||
84 | { | ||
85 | get => this.Fields[(int)HelpFileSymbolFields.HxRFileRef].AsString(); | ||
86 | set => this.Set((int)HelpFileSymbolFields.HxRFileRef, value); | ||
87 | } | ||
88 | |||
89 | public string SamplesFileRef | ||
90 | { | ||
91 | get => this.Fields[(int)HelpFileSymbolFields.SamplesFileRef].AsString(); | ||
92 | set => this.Set((int)HelpFileSymbolFields.SamplesFileRef, value); | ||
93 | } | ||
94 | } | ||
95 | } \ No newline at end of file | ||