diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-05-16 12:18:36 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-05-23 15:43:40 -0700 |
| commit | 505fe69d85c90184cd37290ccb0120fec6074c20 (patch) | |
| tree | 685314724a00232c2cad02e73c88214bee25df4f /src/WixToolset.Data/Tuples/WixCustomTableTuple.cs | |
| parent | ac1400ac5502db2f975e94dc803c155fd6a0a0e0 (diff) | |
| download | wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.gz wix-505fe69d85c90184cd37290ccb0120fec6074c20.tar.bz2 wix-505fe69d85c90184cd37290ccb0120fec6074c20.zip | |
Remove redundant `?.Value` from strongly typed accesses
Diffstat (limited to 'src/WixToolset.Data/Tuples/WixCustomTableTuple.cs')
| -rw-r--r-- | src/WixToolset.Data/Tuples/WixCustomTableTuple.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs index 58266aff..fd21fe2d 100644 --- a/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs +++ b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs | |||
| @@ -63,85 +63,85 @@ namespace WixToolset.Data.Tuples | |||
| 63 | 63 | ||
| 64 | public string Table | 64 | public string Table |
| 65 | { | 65 | { |
| 66 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Table]?.Value; | 66 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Table]; |
| 67 | set => this.Set((int)WixCustomTableTupleFields.Table, value); | 67 | set => this.Set((int)WixCustomTableTupleFields.Table, value); |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | public int ColumnCount | 70 | public int ColumnCount |
| 71 | { | 71 | { |
| 72 | get => (int)this.Fields[(int)WixCustomTableTupleFields.ColumnCount]?.Value; | 72 | get => (int)this.Fields[(int)WixCustomTableTupleFields.ColumnCount]; |
| 73 | set => this.Set((int)WixCustomTableTupleFields.ColumnCount, value); | 73 | set => this.Set((int)WixCustomTableTupleFields.ColumnCount, value); |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | public string ColumnNames | 76 | public string ColumnNames |
| 77 | { | 77 | { |
| 78 | get => (string)this.Fields[(int)WixCustomTableTupleFields.ColumnNames]?.Value; | 78 | get => (string)this.Fields[(int)WixCustomTableTupleFields.ColumnNames]; |
| 79 | set => this.Set((int)WixCustomTableTupleFields.ColumnNames, value); | 79 | set => this.Set((int)WixCustomTableTupleFields.ColumnNames, value); |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | public string ColumnTypes | 82 | public string ColumnTypes |
| 83 | { | 83 | { |
| 84 | get => (string)this.Fields[(int)WixCustomTableTupleFields.ColumnTypes]?.Value; | 84 | get => (string)this.Fields[(int)WixCustomTableTupleFields.ColumnTypes]; |
| 85 | set => this.Set((int)WixCustomTableTupleFields.ColumnTypes, value); | 85 | set => this.Set((int)WixCustomTableTupleFields.ColumnTypes, value); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | public string PrimaryKeys | 88 | public string PrimaryKeys |
| 89 | { | 89 | { |
| 90 | get => (string)this.Fields[(int)WixCustomTableTupleFields.PrimaryKeys]?.Value; | 90 | get => (string)this.Fields[(int)WixCustomTableTupleFields.PrimaryKeys]; |
| 91 | set => this.Set((int)WixCustomTableTupleFields.PrimaryKeys, value); | 91 | set => this.Set((int)WixCustomTableTupleFields.PrimaryKeys, value); |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | public string MinValues | 94 | public string MinValues |
| 95 | { | 95 | { |
| 96 | get => (string)this.Fields[(int)WixCustomTableTupleFields.MinValues]?.Value; | 96 | get => (string)this.Fields[(int)WixCustomTableTupleFields.MinValues]; |
| 97 | set => this.Set((int)WixCustomTableTupleFields.MinValues, value); | 97 | set => this.Set((int)WixCustomTableTupleFields.MinValues, value); |
| 98 | } | 98 | } |
| 99 | 99 | ||
| 100 | public string MaxValues | 100 | public string MaxValues |
| 101 | { | 101 | { |
| 102 | get => (string)this.Fields[(int)WixCustomTableTupleFields.MaxValues]?.Value; | 102 | get => (string)this.Fields[(int)WixCustomTableTupleFields.MaxValues]; |
| 103 | set => this.Set((int)WixCustomTableTupleFields.MaxValues, value); | 103 | set => this.Set((int)WixCustomTableTupleFields.MaxValues, value); |
| 104 | } | 104 | } |
| 105 | 105 | ||
| 106 | public string KeyTables | 106 | public string KeyTables |
| 107 | { | 107 | { |
| 108 | get => (string)this.Fields[(int)WixCustomTableTupleFields.KeyTables]?.Value; | 108 | get => (string)this.Fields[(int)WixCustomTableTupleFields.KeyTables]; |
| 109 | set => this.Set((int)WixCustomTableTupleFields.KeyTables, value); | 109 | set => this.Set((int)WixCustomTableTupleFields.KeyTables, value); |
| 110 | } | 110 | } |
| 111 | 111 | ||
| 112 | public string KeyColumns | 112 | public string KeyColumns |
| 113 | { | 113 | { |
| 114 | get => (string)this.Fields[(int)WixCustomTableTupleFields.KeyColumns]?.Value; | 114 | get => (string)this.Fields[(int)WixCustomTableTupleFields.KeyColumns]; |
| 115 | set => this.Set((int)WixCustomTableTupleFields.KeyColumns, value); | 115 | set => this.Set((int)WixCustomTableTupleFields.KeyColumns, value); |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | public string Categories | 118 | public string Categories |
| 119 | { | 119 | { |
| 120 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Categories]?.Value; | 120 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Categories]; |
| 121 | set => this.Set((int)WixCustomTableTupleFields.Categories, value); | 121 | set => this.Set((int)WixCustomTableTupleFields.Categories, value); |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | public string Sets | 124 | public string Sets |
| 125 | { | 125 | { |
| 126 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Sets]?.Value; | 126 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Sets]; |
| 127 | set => this.Set((int)WixCustomTableTupleFields.Sets, value); | 127 | set => this.Set((int)WixCustomTableTupleFields.Sets, value); |
| 128 | } | 128 | } |
| 129 | 129 | ||
| 130 | public string Descriptions | 130 | public string Descriptions |
| 131 | { | 131 | { |
| 132 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Descriptions]?.Value; | 132 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Descriptions]; |
| 133 | set => this.Set((int)WixCustomTableTupleFields.Descriptions, value); | 133 | set => this.Set((int)WixCustomTableTupleFields.Descriptions, value); |
| 134 | } | 134 | } |
| 135 | 135 | ||
| 136 | public string Modularizations | 136 | public string Modularizations |
| 137 | { | 137 | { |
| 138 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Modularizations]?.Value; | 138 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Modularizations]; |
| 139 | set => this.Set((int)WixCustomTableTupleFields.Modularizations, value); | 139 | set => this.Set((int)WixCustomTableTupleFields.Modularizations, value); |
| 140 | } | 140 | } |
| 141 | 141 | ||
| 142 | public int BootstrapperApplicationData | 142 | public int BootstrapperApplicationData |
| 143 | { | 143 | { |
| 144 | get => (int)this.Fields[(int)WixCustomTableTupleFields.BootstrapperApplicationData]?.Value; | 144 | get => (int)this.Fields[(int)WixCustomTableTupleFields.BootstrapperApplicationData]; |
| 145 | set => this.Set((int)WixCustomTableTupleFields.BootstrapperApplicationData, value); | 145 | set => this.Set((int)WixCustomTableTupleFields.BootstrapperApplicationData, value); |
| 146 | } | 146 | } |
| 147 | } | 147 | } |
