diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-06-24 14:05:08 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-06-25 12:48:19 -0700 |
| commit | 9787570331b511bab73ac8f4f38a3b8cfa053ca5 (patch) | |
| tree | 508155e2cf4f6bafeef2be1059da547291025352 /src/WixToolset.Data/Tuples/DialogTuple.cs | |
| parent | 2bcc21d5c2d27e578f59f905f6acd0979b78aa9d (diff) | |
| download | wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.gz wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.tar.bz2 wix-9787570331b511bab73ac8f4f38a3b8cfa053ca5.zip | |
The Great Tuple to Symbol Rename (tm)
Diffstat (limited to 'src/WixToolset.Data/Tuples/DialogTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/DialogTuple.cs | 136 |
1 files changed, 68 insertions, 68 deletions
diff --git a/src/WixToolset.Data/Tuples/DialogTuple.cs b/src/WixToolset.Data/Tuples/DialogTuple.cs index 492d2fb1..ee030405 100644 --- a/src/WixToolset.Data/Tuples/DialogTuple.cs +++ b/src/WixToolset.Data/Tuples/DialogTuple.cs | |||
| @@ -2,41 +2,41 @@ | |||
| 2 | 2 | ||
| 3 | namespace WixToolset.Data | 3 | namespace WixToolset.Data |
| 4 | { | 4 | { |
| 5 | using WixToolset.Data.Tuples; | 5 | using WixToolset.Data.Symbols; |
| 6 | 6 | ||
| 7 | public static partial class TupleDefinitions | 7 | public static partial class SymbolDefinitions |
| 8 | { | 8 | { |
| 9 | public static readonly IntermediateTupleDefinition Dialog = new IntermediateTupleDefinition( | 9 | public static readonly IntermediateSymbolDefinition Dialog = new IntermediateSymbolDefinition( |
| 10 | TupleDefinitionType.Dialog, | 10 | SymbolDefinitionType.Dialog, |
| 11 | new[] | 11 | new[] |
| 12 | { | 12 | { |
| 13 | new IntermediateFieldDefinition(nameof(DialogTupleFields.HCentering), IntermediateFieldType.Number), | 13 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.HCentering), IntermediateFieldType.Number), |
| 14 | new IntermediateFieldDefinition(nameof(DialogTupleFields.VCentering), IntermediateFieldType.Number), | 14 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.VCentering), IntermediateFieldType.Number), |
| 15 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Width), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Width), IntermediateFieldType.Number), |
| 16 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Height), IntermediateFieldType.Number), | 16 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Height), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(DialogTupleFields.CustomPalette), IntermediateFieldType.Bool), | 17 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.CustomPalette), IntermediateFieldType.Bool), |
| 18 | new IntermediateFieldDefinition(nameof(DialogTupleFields.ErrorDialog), IntermediateFieldType.Bool), | 18 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.ErrorDialog), IntermediateFieldType.Bool), |
| 19 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Visible), IntermediateFieldType.Bool), | 19 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Visible), IntermediateFieldType.Bool), |
| 20 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Modal), IntermediateFieldType.Bool), | 20 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Modal), IntermediateFieldType.Bool), |
| 21 | new IntermediateFieldDefinition(nameof(DialogTupleFields.KeepModeless), IntermediateFieldType.Bool), | 21 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.KeepModeless), IntermediateFieldType.Bool), |
| 22 | new IntermediateFieldDefinition(nameof(DialogTupleFields.LeftScroll), IntermediateFieldType.Bool), | 22 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.LeftScroll), IntermediateFieldType.Bool), |
| 23 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Minimize), IntermediateFieldType.Bool), | 23 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Minimize), IntermediateFieldType.Bool), |
| 24 | new IntermediateFieldDefinition(nameof(DialogTupleFields.RightAligned), IntermediateFieldType.Bool), | 24 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.RightAligned), IntermediateFieldType.Bool), |
| 25 | new IntermediateFieldDefinition(nameof(DialogTupleFields.RightToLeft), IntermediateFieldType.Bool), | 25 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.RightToLeft), IntermediateFieldType.Bool), |
| 26 | new IntermediateFieldDefinition(nameof(DialogTupleFields.SystemModal), IntermediateFieldType.Bool), | 26 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.SystemModal), IntermediateFieldType.Bool), |
| 27 | new IntermediateFieldDefinition(nameof(DialogTupleFields.TrackDiskSpace), IntermediateFieldType.Bool), | 27 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.TrackDiskSpace), IntermediateFieldType.Bool), |
| 28 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Title), IntermediateFieldType.String), | 28 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.Title), IntermediateFieldType.String), |
| 29 | new IntermediateFieldDefinition(nameof(DialogTupleFields.FirstControlRef), IntermediateFieldType.String), | 29 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.FirstControlRef), IntermediateFieldType.String), |
| 30 | new IntermediateFieldDefinition(nameof(DialogTupleFields.DefaultControlRef), IntermediateFieldType.String), | 30 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.DefaultControlRef), IntermediateFieldType.String), |
| 31 | new IntermediateFieldDefinition(nameof(DialogTupleFields.CancelControlRef), IntermediateFieldType.String), | 31 | new IntermediateFieldDefinition(nameof(DialogSymbolFields.CancelControlRef), IntermediateFieldType.String), |
| 32 | }, | 32 | }, |
| 33 | typeof(DialogTuple)); | 33 | typeof(DialogSymbol)); |
| 34 | } | 34 | } |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | namespace WixToolset.Data.Tuples | 37 | namespace WixToolset.Data.Symbols |
| 38 | { | 38 | { |
| 39 | public enum DialogTupleFields | 39 | public enum DialogSymbolFields |
| 40 | { | 40 | { |
| 41 | HCentering, | 41 | HCentering, |
| 42 | VCentering, | 42 | VCentering, |
| @@ -59,130 +59,130 @@ namespace WixToolset.Data.Tuples | |||
| 59 | CancelControlRef, | 59 | CancelControlRef, |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | public class DialogTuple : IntermediateTuple | 62 | public class DialogSymbol : IntermediateSymbol |
| 63 | { | 63 | { |
| 64 | public DialogTuple() : base(TupleDefinitions.Dialog, null, null) | 64 | public DialogSymbol() : base(SymbolDefinitions.Dialog, null, null) |
| 65 | { | 65 | { |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | public DialogTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Dialog, sourceLineNumber, id) | 68 | public DialogSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SymbolDefinitions.Dialog, sourceLineNumber, id) |
| 69 | { | 69 | { |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | public IntermediateField this[DialogTupleFields index] => this.Fields[(int)index]; | 72 | public IntermediateField this[DialogSymbolFields index] => this.Fields[(int)index]; |
| 73 | 73 | ||
| 74 | public int HCentering | 74 | public int HCentering |
| 75 | { | 75 | { |
| 76 | get => (int)this.Fields[(int)DialogTupleFields.HCentering]; | 76 | get => (int)this.Fields[(int)DialogSymbolFields.HCentering]; |
| 77 | set => this.Set((int)DialogTupleFields.HCentering, value); | 77 | set => this.Set((int)DialogSymbolFields.HCentering, value); |
| 78 | } | 78 | } |
| 79 | 79 | ||
| 80 | public int VCentering | 80 | public int VCentering |
| 81 | { | 81 | { |
| 82 | get => (int)this.Fields[(int)DialogTupleFields.VCentering]; | 82 | get => (int)this.Fields[(int)DialogSymbolFields.VCentering]; |
| 83 | set => this.Set((int)DialogTupleFields.VCentering, value); | 83 | set => this.Set((int)DialogSymbolFields.VCentering, value); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | public int Width | 86 | public int Width |
| 87 | { | 87 | { |
| 88 | get => (int)this.Fields[(int)DialogTupleFields.Width]; | 88 | get => (int)this.Fields[(int)DialogSymbolFields.Width]; |
| 89 | set => this.Set((int)DialogTupleFields.Width, value); | 89 | set => this.Set((int)DialogSymbolFields.Width, value); |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | public int Height | 92 | public int Height |
| 93 | { | 93 | { |
| 94 | get => (int)this.Fields[(int)DialogTupleFields.Height]; | 94 | get => (int)this.Fields[(int)DialogSymbolFields.Height]; |
| 95 | set => this.Set((int)DialogTupleFields.Height, value); | 95 | set => this.Set((int)DialogSymbolFields.Height, value); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | public bool CustomPalette | 98 | public bool CustomPalette |
| 99 | { | 99 | { |
| 100 | get => this.Fields[(int)DialogTupleFields.CustomPalette].AsBool(); | 100 | get => this.Fields[(int)DialogSymbolFields.CustomPalette].AsBool(); |
| 101 | set => this.Set((int)DialogTupleFields.CustomPalette, value); | 101 | set => this.Set((int)DialogSymbolFields.CustomPalette, value); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | public bool ErrorDialog | 104 | public bool ErrorDialog |
| 105 | { | 105 | { |
| 106 | get => this.Fields[(int)DialogTupleFields.ErrorDialog].AsBool(); | 106 | get => this.Fields[(int)DialogSymbolFields.ErrorDialog].AsBool(); |
| 107 | set => this.Set((int)DialogTupleFields.ErrorDialog, value); | 107 | set => this.Set((int)DialogSymbolFields.ErrorDialog, value); |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | public bool Visible | 110 | public bool Visible |
| 111 | { | 111 | { |
| 112 | get => this.Fields[(int)DialogTupleFields.Visible].AsBool(); | 112 | get => this.Fields[(int)DialogSymbolFields.Visible].AsBool(); |
| 113 | set => this.Set((int)DialogTupleFields.Visible, value); | 113 | set => this.Set((int)DialogSymbolFields.Visible, value); |
| 114 | } | 114 | } |
| 115 | 115 | ||
| 116 | public bool Modal | 116 | public bool Modal |
| 117 | { | 117 | { |
| 118 | get => this.Fields[(int)DialogTupleFields.Modal].AsBool(); | 118 | get => this.Fields[(int)DialogSymbolFields.Modal].AsBool(); |
| 119 | set => this.Set((int)DialogTupleFields.Modal, value); | 119 | set => this.Set((int)DialogSymbolFields.Modal, value); |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | public bool KeepModeless | 122 | public bool KeepModeless |
| 123 | { | 123 | { |
| 124 | get => this.Fields[(int)DialogTupleFields.KeepModeless].AsBool(); | 124 | get => this.Fields[(int)DialogSymbolFields.KeepModeless].AsBool(); |
| 125 | set => this.Set((int)DialogTupleFields.KeepModeless, value); | 125 | set => this.Set((int)DialogSymbolFields.KeepModeless, value); |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | public bool LeftScroll | 128 | public bool LeftScroll |
| 129 | { | 129 | { |
| 130 | get => this.Fields[(int)DialogTupleFields.LeftScroll].AsBool(); | 130 | get => this.Fields[(int)DialogSymbolFields.LeftScroll].AsBool(); |
| 131 | set => this.Set((int)DialogTupleFields.LeftScroll, value); | 131 | set => this.Set((int)DialogSymbolFields.LeftScroll, value); |
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | public bool Minimize | 134 | public bool Minimize |
| 135 | { | 135 | { |
| 136 | get => this.Fields[(int)DialogTupleFields.Minimize].AsBool(); | 136 | get => this.Fields[(int)DialogSymbolFields.Minimize].AsBool(); |
| 137 | set => this.Set((int)DialogTupleFields.Minimize, value); | 137 | set => this.Set((int)DialogSymbolFields.Minimize, value); |
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | public bool RightAligned | 140 | public bool RightAligned |
| 141 | { | 141 | { |
| 142 | get => this.Fields[(int)DialogTupleFields.RightAligned].AsBool(); | 142 | get => this.Fields[(int)DialogSymbolFields.RightAligned].AsBool(); |
| 143 | set => this.Set((int)DialogTupleFields.RightAligned, value); | 143 | set => this.Set((int)DialogSymbolFields.RightAligned, value); |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | public bool RightToLeft | 146 | public bool RightToLeft |
| 147 | { | 147 | { |
| 148 | get => this.Fields[(int)DialogTupleFields.RightToLeft].AsBool(); | 148 | get => this.Fields[(int)DialogSymbolFields.RightToLeft].AsBool(); |
| 149 | set => this.Set((int)DialogTupleFields.RightToLeft, value); | 149 | set => this.Set((int)DialogSymbolFields.RightToLeft, value); |
| 150 | } | 150 | } |
| 151 | 151 | ||
| 152 | public bool TrackDiskSpace | 152 | public bool TrackDiskSpace |
| 153 | { | 153 | { |
| 154 | get => this.Fields[(int)DialogTupleFields.TrackDiskSpace].AsBool(); | 154 | get => this.Fields[(int)DialogSymbolFields.TrackDiskSpace].AsBool(); |
| 155 | set => this.Set((int)DialogTupleFields.TrackDiskSpace, value); | 155 | set => this.Set((int)DialogSymbolFields.TrackDiskSpace, value); |
| 156 | } | 156 | } |
| 157 | 157 | ||
| 158 | public bool SystemModal | 158 | public bool SystemModal |
| 159 | { | 159 | { |
| 160 | get => this.Fields[(int)DialogTupleFields.SystemModal].AsBool(); | 160 | get => this.Fields[(int)DialogSymbolFields.SystemModal].AsBool(); |
| 161 | set => this.Set((int)DialogTupleFields.SystemModal, value); | 161 | set => this.Set((int)DialogSymbolFields.SystemModal, value); |
| 162 | } | 162 | } |
| 163 | 163 | ||
| 164 | public string Title | 164 | public string Title |
| 165 | { | 165 | { |
| 166 | get => (string)this.Fields[(int)DialogTupleFields.Title]; | 166 | get => (string)this.Fields[(int)DialogSymbolFields.Title]; |
| 167 | set => this.Set((int)DialogTupleFields.Title, value); | 167 | set => this.Set((int)DialogSymbolFields.Title, value); |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | public string FirstControlRef | 170 | public string FirstControlRef |
| 171 | { | 171 | { |
| 172 | get => (string)this.Fields[(int)DialogTupleFields.FirstControlRef]; | 172 | get => (string)this.Fields[(int)DialogSymbolFields.FirstControlRef]; |
| 173 | set => this.Set((int)DialogTupleFields.FirstControlRef, value); | 173 | set => this.Set((int)DialogSymbolFields.FirstControlRef, value); |
| 174 | } | 174 | } |
| 175 | 175 | ||
| 176 | public string DefaultControlRef | 176 | public string DefaultControlRef |
| 177 | { | 177 | { |
| 178 | get => (string)this.Fields[(int)DialogTupleFields.DefaultControlRef]; | 178 | get => (string)this.Fields[(int)DialogSymbolFields.DefaultControlRef]; |
| 179 | set => this.Set((int)DialogTupleFields.DefaultControlRef, value); | 179 | set => this.Set((int)DialogSymbolFields.DefaultControlRef, value); |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | public string CancelControlRef | 182 | public string CancelControlRef |
| 183 | { | 183 | { |
| 184 | get => (string)this.Fields[(int)DialogTupleFields.CancelControlRef]; | 184 | get => (string)this.Fields[(int)DialogSymbolFields.CancelControlRef]; |
| 185 | set => this.Set((int)DialogTupleFields.CancelControlRef, value); | 185 | set => this.Set((int)DialogSymbolFields.CancelControlRef, value); |
| 186 | } | 186 | } |
| 187 | } | 187 | } |
| 188 | } \ No newline at end of file | 188 | } \ No newline at end of file |
