diff options
Diffstat (limited to '')
-rw-r--r-- | src/WixToolset.Data/Tuples/WixBundlePropertiesTuple.cs | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/src/WixToolset.Data/Tuples/WixBundlePropertiesTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePropertiesTuple.cs deleted file mode 100644 index ae610aac..00000000 --- a/src/WixToolset.Data/Tuples/WixBundlePropertiesTuple.cs +++ /dev/null | |||
@@ -1,84 +0,0 @@ | |||
1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
2 | |||
3 | namespace WixToolset.Data | ||
4 | { | ||
5 | using WixToolset.Data.Tuples; | ||
6 | |||
7 | public static partial class TupleDefinitions | ||
8 | { | ||
9 | public static readonly IntermediateTupleDefinition WixBundleProperties = new IntermediateTupleDefinition( | ||
10 | TupleDefinitionType.WixBundleProperties, | ||
11 | new[] | ||
12 | { | ||
13 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.DisplayName), IntermediateFieldType.String), | ||
14 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.LogPathVariable), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.Compressed), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.BundleId), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.UpgradeCode), IntermediateFieldType.String), | ||
18 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.PerMachine), IntermediateFieldType.String), | ||
19 | }, | ||
20 | typeof(WixBundlePropertiesTuple)); | ||
21 | } | ||
22 | } | ||
23 | |||
24 | namespace WixToolset.Data.Tuples | ||
25 | { | ||
26 | public enum WixBundlePropertiesTupleFields | ||
27 | { | ||
28 | DisplayName, | ||
29 | LogPathVariable, | ||
30 | Compressed, | ||
31 | BundleId, | ||
32 | UpgradeCode, | ||
33 | PerMachine, | ||
34 | } | ||
35 | |||
36 | public class WixBundlePropertiesTuple : IntermediateTuple | ||
37 | { | ||
38 | public WixBundlePropertiesTuple() : base(TupleDefinitions.WixBundleProperties, null, null) | ||
39 | { | ||
40 | } | ||
41 | |||
42 | public WixBundlePropertiesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleProperties, sourceLineNumber, id) | ||
43 | { | ||
44 | } | ||
45 | |||
46 | public IntermediateField this[WixBundlePropertiesTupleFields index] => this.Fields[(int)index]; | ||
47 | |||
48 | public string DisplayName | ||
49 | { | ||
50 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.DisplayName]; | ||
51 | set => this.Set((int)WixBundlePropertiesTupleFields.DisplayName, value); | ||
52 | } | ||
53 | |||
54 | public string LogPathVariable | ||
55 | { | ||
56 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.LogPathVariable]; | ||
57 | set => this.Set((int)WixBundlePropertiesTupleFields.LogPathVariable, value); | ||
58 | } | ||
59 | |||
60 | public string Compressed | ||
61 | { | ||
62 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.Compressed]; | ||
63 | set => this.Set((int)WixBundlePropertiesTupleFields.Compressed, value); | ||
64 | } | ||
65 | |||
66 | public string BundleId | ||
67 | { | ||
68 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.BundleId]; | ||
69 | set => this.Set((int)WixBundlePropertiesTupleFields.BundleId, value); | ||
70 | } | ||
71 | |||
72 | public string UpgradeCode | ||
73 | { | ||
74 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.UpgradeCode]; | ||
75 | set => this.Set((int)WixBundlePropertiesTupleFields.UpgradeCode, value); | ||
76 | } | ||
77 | |||
78 | public string PerMachine | ||
79 | { | ||
80 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.PerMachine]; | ||
81 | set => this.Set((int)WixBundlePropertiesTupleFields.PerMachine, value); | ||
82 | } | ||
83 | } | ||
84 | } \ No newline at end of file | ||