diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs index c7dcf373..c9f69ef3 100644 --- a/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs +++ b/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs | |||
@@ -95,121 +95,121 @@ namespace WixToolset.Data.Tuples | |||
95 | 95 | ||
96 | public string WixChainItem_ | 96 | public string WixChainItem_ |
97 | { | 97 | { |
98 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.WixChainItem_]?.Value; | 98 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.WixChainItem_]; |
99 | set => this.Set((int)WixBundlePackageTupleFields.WixChainItem_, value); | 99 | set => this.Set((int)WixBundlePackageTupleFields.WixChainItem_, value); |
100 | } | 100 | } |
101 | 101 | ||
102 | public WixBundlePackageType Type | 102 | public WixBundlePackageType Type |
103 | { | 103 | { |
104 | get => (WixBundlePackageType)Enum.Parse(typeof(WixBundlePackageType), (string)this.Fields[(int)WixBundlePackageTupleFields.Type]?.Value, true); | 104 | get => (WixBundlePackageType)Enum.Parse(typeof(WixBundlePackageType), (string)this.Fields[(int)WixBundlePackageTupleFields.Type], true); |
105 | set => this.Set((int)WixBundlePackageTupleFields.Type, value.ToString()); | 105 | set => this.Set((int)WixBundlePackageTupleFields.Type, value.ToString()); |
106 | } | 106 | } |
107 | 107 | ||
108 | public string Payload_ | 108 | public string Payload_ |
109 | { | 109 | { |
110 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Payload_]?.Value; | 110 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Payload_]; |
111 | set => this.Set((int)WixBundlePackageTupleFields.Payload_, value); | 111 | set => this.Set((int)WixBundlePackageTupleFields.Payload_, value); |
112 | } | 112 | } |
113 | 113 | ||
114 | public WixBundlePackageAttributes Attributes | 114 | public WixBundlePackageAttributes Attributes |
115 | { | 115 | { |
116 | get => (WixBundlePackageAttributes)(int)this.Fields[(int)WixBundlePackageTupleFields.Attributes]?.Value; | 116 | get => (WixBundlePackageAttributes)(int)this.Fields[(int)WixBundlePackageTupleFields.Attributes]; |
117 | set => this.Set((int)WixBundlePackageTupleFields.Attributes, (int)value); | 117 | set => this.Set((int)WixBundlePackageTupleFields.Attributes, (int)value); |
118 | } | 118 | } |
119 | 119 | ||
120 | public string InstallCondition | 120 | public string InstallCondition |
121 | { | 121 | { |
122 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.InstallCondition]?.Value; | 122 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.InstallCondition]; |
123 | set => this.Set((int)WixBundlePackageTupleFields.InstallCondition, value); | 123 | set => this.Set((int)WixBundlePackageTupleFields.InstallCondition, value); |
124 | } | 124 | } |
125 | 125 | ||
126 | public YesNoAlwaysType Cache | 126 | public YesNoAlwaysType Cache |
127 | { | 127 | { |
128 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageTupleFields.Cache]?.Value, true, out YesNoAlwaysType value) ? value : YesNoAlwaysType.NotSet; | 128 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageTupleFields.Cache], true, out YesNoAlwaysType value) ? value : YesNoAlwaysType.NotSet; |
129 | set => this.Set((int)WixBundlePackageTupleFields.Cache, value.ToString().ToLowerInvariant()); | 129 | set => this.Set((int)WixBundlePackageTupleFields.Cache, value.ToString().ToLowerInvariant()); |
130 | } | 130 | } |
131 | 131 | ||
132 | public string CacheId | 132 | public string CacheId |
133 | { | 133 | { |
134 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.CacheId]?.Value; | 134 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.CacheId]; |
135 | set => this.Set((int)WixBundlePackageTupleFields.CacheId, value); | 135 | set => this.Set((int)WixBundlePackageTupleFields.CacheId, value); |
136 | } | 136 | } |
137 | 137 | ||
138 | public bool? Vital | 138 | public bool? Vital |
139 | { | 139 | { |
140 | get => (bool?)this.Fields[(int)WixBundlePackageTupleFields.Vital]?.Value; | 140 | get => (bool?)this.Fields[(int)WixBundlePackageTupleFields.Vital]; |
141 | set => this.Set((int)WixBundlePackageTupleFields.Vital, value); | 141 | set => this.Set((int)WixBundlePackageTupleFields.Vital, value); |
142 | } | 142 | } |
143 | 143 | ||
144 | public YesNoDefaultType PerMachine | 144 | public YesNoDefaultType PerMachine |
145 | { | 145 | { |
146 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageTupleFields.PerMachine]?.Value, true, out YesNoDefaultType value) ? value : YesNoDefaultType.NotSet; | 146 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageTupleFields.PerMachine], true, out YesNoDefaultType value) ? value : YesNoDefaultType.NotSet; |
147 | set => this.Set((int)WixBundlePackageTupleFields.PerMachine, value.ToString().ToLowerInvariant()); | 147 | set => this.Set((int)WixBundlePackageTupleFields.PerMachine, value.ToString().ToLowerInvariant()); |
148 | } | 148 | } |
149 | 149 | ||
150 | public string LogPathVariable | 150 | public string LogPathVariable |
151 | { | 151 | { |
152 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.LogPathVariable]?.Value; | 152 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.LogPathVariable]; |
153 | set => this.Set((int)WixBundlePackageTupleFields.LogPathVariable, value); | 153 | set => this.Set((int)WixBundlePackageTupleFields.LogPathVariable, value); |
154 | } | 154 | } |
155 | 155 | ||
156 | public string RollbackLogPathVariable | 156 | public string RollbackLogPathVariable |
157 | { | 157 | { |
158 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackLogPathVariable]?.Value; | 158 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackLogPathVariable]; |
159 | set => this.Set((int)WixBundlePackageTupleFields.RollbackLogPathVariable, value); | 159 | set => this.Set((int)WixBundlePackageTupleFields.RollbackLogPathVariable, value); |
160 | } | 160 | } |
161 | 161 | ||
162 | public int Size | 162 | public int Size |
163 | { | 163 | { |
164 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.Size]?.Value; | 164 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.Size]; |
165 | set => this.Set((int)WixBundlePackageTupleFields.Size, value); | 165 | set => this.Set((int)WixBundlePackageTupleFields.Size, value); |
166 | } | 166 | } |
167 | 167 | ||
168 | public int InstallSize | 168 | public int InstallSize |
169 | { | 169 | { |
170 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.InstallSize]?.Value; | 170 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.InstallSize]; |
171 | set => this.Set((int)WixBundlePackageTupleFields.InstallSize, value); | 171 | set => this.Set((int)WixBundlePackageTupleFields.InstallSize, value); |
172 | } | 172 | } |
173 | 173 | ||
174 | public string Version | 174 | public string Version |
175 | { | 175 | { |
176 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Version]?.Value; | 176 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Version]; |
177 | set => this.Set((int)WixBundlePackageTupleFields.Version, value); | 177 | set => this.Set((int)WixBundlePackageTupleFields.Version, value); |
178 | } | 178 | } |
179 | 179 | ||
180 | public int Language | 180 | public int Language |
181 | { | 181 | { |
182 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.Language]?.Value; | 182 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.Language]; |
183 | set => this.Set((int)WixBundlePackageTupleFields.Language, value); | 183 | set => this.Set((int)WixBundlePackageTupleFields.Language, value); |
184 | } | 184 | } |
185 | 185 | ||
186 | public string DisplayName | 186 | public string DisplayName |
187 | { | 187 | { |
188 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.DisplayName]?.Value; | 188 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.DisplayName]; |
189 | set => this.Set((int)WixBundlePackageTupleFields.DisplayName, value); | 189 | set => this.Set((int)WixBundlePackageTupleFields.DisplayName, value); |
190 | } | 190 | } |
191 | 191 | ||
192 | public string Description | 192 | public string Description |
193 | { | 193 | { |
194 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Description]?.Value; | 194 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Description]; |
195 | set => this.Set((int)WixBundlePackageTupleFields.Description, value); | 195 | set => this.Set((int)WixBundlePackageTupleFields.Description, value); |
196 | } | 196 | } |
197 | 197 | ||
198 | public string RollbackBoundary_ | 198 | public string RollbackBoundary_ |
199 | { | 199 | { |
200 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackBoundary_]?.Value; | 200 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackBoundary_]; |
201 | set => this.Set((int)WixBundlePackageTupleFields.RollbackBoundary_, value); | 201 | set => this.Set((int)WixBundlePackageTupleFields.RollbackBoundary_, value); |
202 | } | 202 | } |
203 | 203 | ||
204 | public string RollbackBoundaryBackward_ | 204 | public string RollbackBoundaryBackward_ |
205 | { | 205 | { |
206 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackBoundaryBackward_]?.Value; | 206 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackBoundaryBackward_]; |
207 | set => this.Set((int)WixBundlePackageTupleFields.RollbackBoundaryBackward_, value); | 207 | set => this.Set((int)WixBundlePackageTupleFields.RollbackBoundaryBackward_, value); |
208 | } | 208 | } |
209 | 209 | ||
210 | public int x64 | 210 | public int x64 |
211 | { | 211 | { |
212 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.x64]?.Value; | 212 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.x64]; |
213 | set => this.Set((int)WixBundlePackageTupleFields.x64, value); | 213 | set => this.Set((int)WixBundlePackageTupleFields.x64, value); |
214 | } | 214 | } |
215 | } | 215 | } |