From 9787570331b511bab73ac8f4f38a3b8cfa053ca5 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 24 Jun 2020 14:05:08 -0700 Subject: The Great Tuple to Symbol Rename (tm) --- .../Tuples/WixComponentGroupTuple.cs | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs') diff --git a/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs b/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs index 1209790f..4dd5a3b5 100644 --- a/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs +++ b/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs @@ -2,43 +2,43 @@ namespace WixToolset.Data { - using WixToolset.Data.Tuples; + using WixToolset.Data.Symbols; - public static partial class TupleDefinitions + public static partial class SymbolDefinitions { - public static readonly IntermediateTupleDefinition WixComponentGroup = new IntermediateTupleDefinition( - TupleDefinitionType.WixComponentGroup, + public static readonly IntermediateSymbolDefinition WixComponentGroup = new IntermediateSymbolDefinition( + SymbolDefinitionType.WixComponentGroup, new[] { - new IntermediateFieldDefinition(nameof(WixComponentGroupTupleFields.WixComponentGroup), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(WixComponentGroupSymbolFields.WixComponentGroup), IntermediateFieldType.String), }, - typeof(WixComponentGroupTuple)); + typeof(WixComponentGroupSymbol)); } } -namespace WixToolset.Data.Tuples +namespace WixToolset.Data.Symbols { - public enum WixComponentGroupTupleFields + public enum WixComponentGroupSymbolFields { WixComponentGroup, } - public class WixComponentGroupTuple : IntermediateTuple + public class WixComponentGroupSymbol : IntermediateSymbol { - public WixComponentGroupTuple() : base(TupleDefinitions.WixComponentGroup, null, null) + public WixComponentGroupSymbol() : base(SymbolDefinitions.WixComponentGroup, null, null) { } - public WixComponentGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixComponentGroup, sourceLineNumber, id) + public WixComponentGroupSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.WixComponentGroup, sourceLineNumber, id) { } - public IntermediateField this[WixComponentGroupTupleFields index] => this.Fields[(int)index]; + public IntermediateField this[WixComponentGroupSymbolFields index] => this.Fields[(int)index]; public string WixComponentGroup { - get => (string)this.Fields[(int)WixComponentGroupTupleFields.WixComponentGroup]; - set => this.Set((int)WixComponentGroupTupleFields.WixComponentGroup, value); + get => (string)this.Fields[(int)WixComponentGroupSymbolFields.WixComponentGroup]; + set => this.Set((int)WixComponentGroupSymbolFields.WixComponentGroup, value); } } } \ No newline at end of file -- cgit v1.2.3-55-g6feb