diff options
Diffstat (limited to 'src/wixext/Tuples/HelpNamespaceTuple.cs')
| -rw-r--r-- | src/wixext/Tuples/HelpNamespaceTuple.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/wixext/Tuples/HelpNamespaceTuple.cs b/src/wixext/Tuples/HelpNamespaceTuple.cs index 69b471fb..8d2c2f80 100644 --- a/src/wixext/Tuples/HelpNamespaceTuple.cs +++ b/src/wixext/Tuples/HelpNamespaceTuple.cs | |||
| @@ -3,61 +3,61 @@ | |||
| 3 | namespace WixToolset.VisualStudio | 3 | namespace WixToolset.VisualStudio |
| 4 | { | 4 | { |
| 5 | using WixToolset.Data; | 5 | using WixToolset.Data; |
| 6 | using WixToolset.VisualStudio.Tuples; | 6 | using WixToolset.VisualStudio.Symbols; |
| 7 | 7 | ||
| 8 | public static partial class VSTupleDefinitions | 8 | public static partial class VSSymbolDefinitions |
| 9 | { | 9 | { |
| 10 | public static readonly IntermediateTupleDefinition HelpNamespace = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition HelpNamespace = new IntermediateSymbolDefinition( |
| 11 | VSTupleDefinitionType.HelpNamespace.ToString(), | 11 | VSSymbolDefinitionType.HelpNamespace.ToString(), |
| 12 | new[] | 12 | new[] |
| 13 | { | 13 | { |
| 14 | new IntermediateFieldDefinition(nameof(HelpNamespaceTupleFields.NamespaceName), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(HelpNamespaceSymbolFields.NamespaceName), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(HelpNamespaceTupleFields.CollectionFileRef), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(HelpNamespaceSymbolFields.CollectionFileRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(HelpNamespaceTupleFields.Description), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(HelpNamespaceSymbolFields.Description), IntermediateFieldType.String), |
| 17 | }, | 17 | }, |
| 18 | typeof(HelpNamespaceTuple)); | 18 | typeof(HelpNamespaceSymbol)); |
| 19 | } | 19 | } |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | namespace WixToolset.VisualStudio.Tuples | 22 | namespace WixToolset.VisualStudio.Symbols |
| 23 | { | 23 | { |
| 24 | using WixToolset.Data; | 24 | using WixToolset.Data; |
| 25 | 25 | ||
| 26 | public enum HelpNamespaceTupleFields | 26 | public enum HelpNamespaceSymbolFields |
| 27 | { | 27 | { |
| 28 | NamespaceName, | 28 | NamespaceName, |
| 29 | CollectionFileRef, | 29 | CollectionFileRef, |
| 30 | Description, | 30 | Description, |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | public class HelpNamespaceTuple : IntermediateTuple | 33 | public class HelpNamespaceSymbol : IntermediateSymbol |
| 34 | { | 34 | { |
| 35 | public HelpNamespaceTuple() : base(VSTupleDefinitions.HelpNamespace, null, null) | 35 | public HelpNamespaceSymbol() : base(VSSymbolDefinitions.HelpNamespace, null, null) |
| 36 | { | 36 | { |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | public HelpNamespaceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(VSTupleDefinitions.HelpNamespace, sourceLineNumber, id) | 39 | public HelpNamespaceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(VSSymbolDefinitions.HelpNamespace, sourceLineNumber, id) |
| 40 | { | 40 | { |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | public IntermediateField this[HelpNamespaceTupleFields index] => this.Fields[(int)index]; | 43 | public IntermediateField this[HelpNamespaceSymbolFields index] => this.Fields[(int)index]; |
| 44 | 44 | ||
| 45 | public string NamespaceName | 45 | public string NamespaceName |
| 46 | { | 46 | { |
| 47 | get => this.Fields[(int)HelpNamespaceTupleFields.NamespaceName].AsString(); | 47 | get => this.Fields[(int)HelpNamespaceSymbolFields.NamespaceName].AsString(); |
| 48 | set => this.Set((int)HelpNamespaceTupleFields.NamespaceName, value); | 48 | set => this.Set((int)HelpNamespaceSymbolFields.NamespaceName, value); |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | public string CollectionFileRef | 51 | public string CollectionFileRef |
| 52 | { | 52 | { |
| 53 | get => this.Fields[(int)HelpNamespaceTupleFields.CollectionFileRef].AsString(); | 53 | get => this.Fields[(int)HelpNamespaceSymbolFields.CollectionFileRef].AsString(); |
| 54 | set => this.Set((int)HelpNamespaceTupleFields.CollectionFileRef, value); | 54 | set => this.Set((int)HelpNamespaceSymbolFields.CollectionFileRef, value); |
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | public string Description | 57 | public string Description |
| 58 | { | 58 | { |
| 59 | get => this.Fields[(int)HelpNamespaceTupleFields.Description].AsString(); | 59 | get => this.Fields[(int)HelpNamespaceSymbolFields.Description].AsString(); |
| 60 | set => this.Set((int)HelpNamespaceTupleFields.Description, value); | 60 | set => this.Set((int)HelpNamespaceSymbolFields.Description, value); |
| 61 | } | 61 | } |
| 62 | } | 62 | } |
| 63 | } \ No newline at end of file | 63 | } \ No newline at end of file |
