diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2019-02-04 20:06:58 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2019-02-04 20:11:32 -0600 |
commit | c239e0cc3a28a50c42c63b086ee62e17cf699104 (patch) | |
tree | 5ba3e85a9bb1aef22a9162629b248a8e27e2c43f /src/wixext/Tuples | |
parent | cbc09b6cd6d0d0b8bf095a88d4d8333616637f71 (diff) | |
download | wix-c239e0cc3a28a50c42c63b086ee62e17cf699104.tar.gz wix-c239e0cc3a28a50c42c63b086ee62e17cf699104.tar.bz2 wix-c239e0cc3a28a50c42c63b086ee62e17cf699104.zip |
Integrate into latest v4.
Diffstat (limited to 'src/wixext/Tuples')
26 files changed, 1886 insertions, 0 deletions
diff --git a/src/wixext/Tuples/ComPlusApplicationPropertyTuple.cs b/src/wixext/Tuples/ComPlusApplicationPropertyTuple.cs new file mode 100644 index 00000000..2582d323 --- /dev/null +++ b/src/wixext/Tuples/ComPlusApplicationPropertyTuple.cs | |||
@@ -0,0 +1,63 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusApplicationProperty = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusApplicationProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertyTupleFields.Application_), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertyTupleFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertyTupleFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusApplicationPropertyTuple)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Tuples | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusApplicationPropertyTupleFields | ||
27 | { | ||
28 | Application_, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusApplicationPropertyTuple : IntermediateTuple | ||
34 | { | ||
35 | public ComPlusApplicationPropertyTuple() : base(ComPlusTupleDefinitions.ComPlusApplicationProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusApplicationPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusApplicationProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusApplicationPropertyTupleFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string Application_ | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusApplicationPropertyTupleFields.Application_].AsString(); | ||
48 | set => this.Set((int)ComPlusApplicationPropertyTupleFields.Application_, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusApplicationPropertyTupleFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusApplicationPropertyTupleFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusApplicationPropertyTupleFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusApplicationPropertyTupleFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusApplicationRolePropertyTuple.cs b/src/wixext/Tuples/ComPlusApplicationRolePropertyTuple.cs new file mode 100644 index 00000000..98eee7f8 --- /dev/null +++ b/src/wixext/Tuples/ComPlusApplicationRolePropertyTuple.cs | |||
@@ -0,0 +1,63 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusApplicationRoleProperty = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusApplicationRoleProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertyTupleFields.ApplicationRole_), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertyTupleFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertyTupleFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusApplicationRolePropertyTuple)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Tuples | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusApplicationRolePropertyTupleFields | ||
27 | { | ||
28 | ApplicationRole_, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusApplicationRolePropertyTuple : IntermediateTuple | ||
34 | { | ||
35 | public ComPlusApplicationRolePropertyTuple() : base(ComPlusTupleDefinitions.ComPlusApplicationRoleProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusApplicationRolePropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusApplicationRoleProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusApplicationRolePropertyTupleFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ApplicationRole_ | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusApplicationRolePropertyTupleFields.ApplicationRole_].AsString(); | ||
48 | set => this.Set((int)ComPlusApplicationRolePropertyTupleFields.ApplicationRole_, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusApplicationRolePropertyTupleFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusApplicationRolePropertyTupleFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusApplicationRolePropertyTupleFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusApplicationRolePropertyTupleFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs b/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs new file mode 100644 index 00000000..5a0cf378 --- /dev/null +++ b/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusApplicationRole = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusApplicationRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.ApplicationRole), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.Application_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleTupleFields.Name), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusApplicationRoleTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusApplicationRoleTupleFields | ||
28 | { | ||
29 | ApplicationRole, | ||
30 | Application_, | ||
31 | Component_, | ||
32 | Name, | ||
33 | } | ||
34 | |||
35 | public class ComPlusApplicationRoleTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusApplicationRoleTuple() : base(ComPlusTupleDefinitions.ComPlusApplicationRole, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusApplicationRoleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusApplicationRole, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusApplicationRoleTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string ApplicationRole | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusApplicationRoleTupleFields.ApplicationRole].AsString(); | ||
50 | set => this.Set((int)ComPlusApplicationRoleTupleFields.ApplicationRole, value); | ||
51 | } | ||
52 | |||
53 | public string Application_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusApplicationRoleTupleFields.Application_].AsString(); | ||
56 | set => this.Set((int)ComPlusApplicationRoleTupleFields.Application_, value); | ||
57 | } | ||
58 | |||
59 | public string Component_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusApplicationRoleTupleFields.Component_].AsString(); | ||
62 | set => this.Set((int)ComPlusApplicationRoleTupleFields.Component_, value); | ||
63 | } | ||
64 | |||
65 | public string Name | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusApplicationRoleTupleFields.Name].AsString(); | ||
68 | set => this.Set((int)ComPlusApplicationRoleTupleFields.Name, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusApplicationTuple.cs b/src/wixext/Tuples/ComPlusApplicationTuple.cs new file mode 100644 index 00000000..7fd5fbd4 --- /dev/null +++ b/src/wixext/Tuples/ComPlusApplicationTuple.cs | |||
@@ -0,0 +1,79 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusApplication = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusApplication.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusApplicationTupleFields.Application), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusApplicationTupleFields.Partition_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusApplicationTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusApplicationTupleFields.CustomId), IntermediateFieldType.String), | ||
18 | new IntermediateFieldDefinition(nameof(ComPlusApplicationTupleFields.Name), IntermediateFieldType.String), | ||
19 | }, | ||
20 | typeof(ComPlusApplicationTuple)); | ||
21 | } | ||
22 | } | ||
23 | |||
24 | namespace WixToolset.ComPlus.Tuples | ||
25 | { | ||
26 | using WixToolset.Data; | ||
27 | |||
28 | public enum ComPlusApplicationTupleFields | ||
29 | { | ||
30 | Application, | ||
31 | Partition_, | ||
32 | Component_, | ||
33 | CustomId, | ||
34 | Name, | ||
35 | } | ||
36 | |||
37 | public class ComPlusApplicationTuple : IntermediateTuple | ||
38 | { | ||
39 | public ComPlusApplicationTuple() : base(ComPlusTupleDefinitions.ComPlusApplication, null, null) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public ComPlusApplicationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusApplication, sourceLineNumber, id) | ||
44 | { | ||
45 | } | ||
46 | |||
47 | public IntermediateField this[ComPlusApplicationTupleFields index] => this.Fields[(int)index]; | ||
48 | |||
49 | public string Application | ||
50 | { | ||
51 | get => this.Fields[(int)ComPlusApplicationTupleFields.Application].AsString(); | ||
52 | set => this.Set((int)ComPlusApplicationTupleFields.Application, value); | ||
53 | } | ||
54 | |||
55 | public string Partition_ | ||
56 | { | ||
57 | get => this.Fields[(int)ComPlusApplicationTupleFields.Partition_].AsString(); | ||
58 | set => this.Set((int)ComPlusApplicationTupleFields.Partition_, value); | ||
59 | } | ||
60 | |||
61 | public string Component_ | ||
62 | { | ||
63 | get => this.Fields[(int)ComPlusApplicationTupleFields.Component_].AsString(); | ||
64 | set => this.Set((int)ComPlusApplicationTupleFields.Component_, value); | ||
65 | } | ||
66 | |||
67 | public string CustomId | ||
68 | { | ||
69 | get => this.Fields[(int)ComPlusApplicationTupleFields.CustomId].AsString(); | ||
70 | set => this.Set((int)ComPlusApplicationTupleFields.CustomId, value); | ||
71 | } | ||
72 | |||
73 | public string Name | ||
74 | { | ||
75 | get => this.Fields[(int)ComPlusApplicationTupleFields.Name].AsString(); | ||
76 | set => this.Set((int)ComPlusApplicationTupleFields.Name, value); | ||
77 | } | ||
78 | } | ||
79 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusAssemblyDependencyTuple.cs b/src/wixext/Tuples/ComPlusAssemblyDependencyTuple.cs new file mode 100644 index 00000000..be0bc073 --- /dev/null +++ b/src/wixext/Tuples/ComPlusAssemblyDependencyTuple.cs | |||
@@ -0,0 +1,55 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusAssemblyDependency = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusAssemblyDependency.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyDependencyTupleFields.Assembly_), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyDependencyTupleFields.RequiredAssembly_), IntermediateFieldType.String), | ||
16 | }, | ||
17 | typeof(ComPlusAssemblyDependencyTuple)); | ||
18 | } | ||
19 | } | ||
20 | |||
21 | namespace WixToolset.ComPlus.Tuples | ||
22 | { | ||
23 | using WixToolset.Data; | ||
24 | |||
25 | public enum ComPlusAssemblyDependencyTupleFields | ||
26 | { | ||
27 | Assembly_, | ||
28 | RequiredAssembly_, | ||
29 | } | ||
30 | |||
31 | public class ComPlusAssemblyDependencyTuple : IntermediateTuple | ||
32 | { | ||
33 | public ComPlusAssemblyDependencyTuple() : base(ComPlusTupleDefinitions.ComPlusAssemblyDependency, null, null) | ||
34 | { | ||
35 | } | ||
36 | |||
37 | public ComPlusAssemblyDependencyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusAssemblyDependency, sourceLineNumber, id) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public IntermediateField this[ComPlusAssemblyDependencyTupleFields index] => this.Fields[(int)index]; | ||
42 | |||
43 | public string Assembly_ | ||
44 | { | ||
45 | get => this.Fields[(int)ComPlusAssemblyDependencyTupleFields.Assembly_].AsString(); | ||
46 | set => this.Set((int)ComPlusAssemblyDependencyTupleFields.Assembly_, value); | ||
47 | } | ||
48 | |||
49 | public string RequiredAssembly_ | ||
50 | { | ||
51 | get => this.Fields[(int)ComPlusAssemblyDependencyTupleFields.RequiredAssembly_].AsString(); | ||
52 | set => this.Set((int)ComPlusAssemblyDependencyTupleFields.RequiredAssembly_, value); | ||
53 | } | ||
54 | } | ||
55 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusAssemblyTuple.cs b/src/wixext/Tuples/ComPlusAssemblyTuple.cs new file mode 100644 index 00000000..0330b4e8 --- /dev/null +++ b/src/wixext/Tuples/ComPlusAssemblyTuple.cs | |||
@@ -0,0 +1,103 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusAssembly = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusAssembly.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.Assembly), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.Application_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.AssemblyName), IntermediateFieldType.String), | ||
18 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.DllPath), IntermediateFieldType.String), | ||
19 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.TlbPath), IntermediateFieldType.String), | ||
20 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.PSDllPath), IntermediateFieldType.String), | ||
21 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyTupleFields.Attributes), IntermediateFieldType.Number), | ||
22 | }, | ||
23 | typeof(ComPlusAssemblyTuple)); | ||
24 | } | ||
25 | } | ||
26 | |||
27 | namespace WixToolset.ComPlus.Tuples | ||
28 | { | ||
29 | using WixToolset.Data; | ||
30 | |||
31 | public enum ComPlusAssemblyTupleFields | ||
32 | { | ||
33 | Assembly, | ||
34 | Application_, | ||
35 | Component_, | ||
36 | AssemblyName, | ||
37 | DllPath, | ||
38 | TlbPath, | ||
39 | PSDllPath, | ||
40 | Attributes, | ||
41 | } | ||
42 | |||
43 | public class ComPlusAssemblyTuple : IntermediateTuple | ||
44 | { | ||
45 | public ComPlusAssemblyTuple() : base(ComPlusTupleDefinitions.ComPlusAssembly, null, null) | ||
46 | { | ||
47 | } | ||
48 | |||
49 | public ComPlusAssemblyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusAssembly, sourceLineNumber, id) | ||
50 | { | ||
51 | } | ||
52 | |||
53 | public IntermediateField this[ComPlusAssemblyTupleFields index] => this.Fields[(int)index]; | ||
54 | |||
55 | public string Assembly | ||
56 | { | ||
57 | get => this.Fields[(int)ComPlusAssemblyTupleFields.Assembly].AsString(); | ||
58 | set => this.Set((int)ComPlusAssemblyTupleFields.Assembly, value); | ||
59 | } | ||
60 | |||
61 | public string Application_ | ||
62 | { | ||
63 | get => this.Fields[(int)ComPlusAssemblyTupleFields.Application_].AsString(); | ||
64 | set => this.Set((int)ComPlusAssemblyTupleFields.Application_, value); | ||
65 | } | ||
66 | |||
67 | public string Component_ | ||
68 | { | ||
69 | get => this.Fields[(int)ComPlusAssemblyTupleFields.Component_].AsString(); | ||
70 | set => this.Set((int)ComPlusAssemblyTupleFields.Component_, value); | ||
71 | } | ||
72 | |||
73 | public string AssemblyName | ||
74 | { | ||
75 | get => this.Fields[(int)ComPlusAssemblyTupleFields.AssemblyName].AsString(); | ||
76 | set => this.Set((int)ComPlusAssemblyTupleFields.AssemblyName, value); | ||
77 | } | ||
78 | |||
79 | public string DllPath | ||
80 | { | ||
81 | get => this.Fields[(int)ComPlusAssemblyTupleFields.DllPath].AsString(); | ||
82 | set => this.Set((int)ComPlusAssemblyTupleFields.DllPath, value); | ||
83 | } | ||
84 | |||
85 | public string TlbPath | ||
86 | { | ||
87 | get => this.Fields[(int)ComPlusAssemblyTupleFields.TlbPath].AsString(); | ||
88 | set => this.Set((int)ComPlusAssemblyTupleFields.TlbPath, value); | ||
89 | } | ||
90 | |||
91 | public string PSDllPath | ||
92 | { | ||
93 | get => this.Fields[(int)ComPlusAssemblyTupleFields.PSDllPath].AsString(); | ||
94 | set => this.Set((int)ComPlusAssemblyTupleFields.PSDllPath, value); | ||
95 | } | ||
96 | |||
97 | public int Attributes | ||
98 | { | ||
99 | get => this.Fields[(int)ComPlusAssemblyTupleFields.Attributes].AsNumber(); | ||
100 | set => this.Set((int)ComPlusAssemblyTupleFields.Attributes, value); | ||
101 | } | ||
102 | } | ||
103 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusComponentPropertyTuple.cs b/src/wixext/Tuples/ComPlusComponentPropertyTuple.cs new file mode 100644 index 00000000..81651343 --- /dev/null +++ b/src/wixext/Tuples/ComPlusComponentPropertyTuple.cs | |||
@@ -0,0 +1,63 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusComponentProperty = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusComponentProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusComponentPropertyTupleFields.ComPlusComponent_), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusComponentPropertyTupleFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusComponentPropertyTupleFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusComponentPropertyTuple)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Tuples | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusComponentPropertyTupleFields | ||
27 | { | ||
28 | ComPlusComponent_, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusComponentPropertyTuple : IntermediateTuple | ||
34 | { | ||
35 | public ComPlusComponentPropertyTuple() : base(ComPlusTupleDefinitions.ComPlusComponentProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusComponentPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusComponentProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusComponentPropertyTupleFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ComPlusComponent_ | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusComponentPropertyTupleFields.ComPlusComponent_].AsString(); | ||
48 | set => this.Set((int)ComPlusComponentPropertyTupleFields.ComPlusComponent_, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusComponentPropertyTupleFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusComponentPropertyTupleFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusComponentPropertyTupleFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusComponentPropertyTupleFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusComponentTuple.cs b/src/wixext/Tuples/ComPlusComponentTuple.cs new file mode 100644 index 00000000..923ff6e3 --- /dev/null +++ b/src/wixext/Tuples/ComPlusComponentTuple.cs | |||
@@ -0,0 +1,63 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusComponent = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusComponent.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusComponentTupleFields.ComPlusComponent), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusComponentTupleFields.Assembly_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusComponentTupleFields.CLSID), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusComponentTuple)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Tuples | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusComponentTupleFields | ||
27 | { | ||
28 | ComPlusComponent, | ||
29 | Assembly_, | ||
30 | CLSID, | ||
31 | } | ||
32 | |||
33 | public class ComPlusComponentTuple : IntermediateTuple | ||
34 | { | ||
35 | public ComPlusComponentTuple() : base(ComPlusTupleDefinitions.ComPlusComponent, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusComponent, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusComponentTupleFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ComPlusComponent | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusComponentTupleFields.ComPlusComponent].AsString(); | ||
48 | set => this.Set((int)ComPlusComponentTupleFields.ComPlusComponent, value); | ||
49 | } | ||
50 | |||
51 | public string Assembly_ | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusComponentTupleFields.Assembly_].AsString(); | ||
54 | set => this.Set((int)ComPlusComponentTupleFields.Assembly_, value); | ||
55 | } | ||
56 | |||
57 | public string CLSID | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusComponentTupleFields.CLSID].AsString(); | ||
60 | set => this.Set((int)ComPlusComponentTupleFields.CLSID, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusGroupInApplicationRoleTuple.cs b/src/wixext/Tuples/ComPlusGroupInApplicationRoleTuple.cs new file mode 100644 index 00000000..40b47eb3 --- /dev/null +++ b/src/wixext/Tuples/ComPlusGroupInApplicationRoleTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusGroupInApplicationRole = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusGroupInApplicationRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleTupleFields.GroupInApplicationRole), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleTupleFields.ApplicationRole_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleTupleFields.Group_), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusGroupInApplicationRoleTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusGroupInApplicationRoleTupleFields | ||
28 | { | ||
29 | GroupInApplicationRole, | ||
30 | ApplicationRole_, | ||
31 | Component_, | ||
32 | Group_, | ||
33 | } | ||
34 | |||
35 | public class ComPlusGroupInApplicationRoleTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusGroupInApplicationRoleTuple() : base(ComPlusTupleDefinitions.ComPlusGroupInApplicationRole, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusGroupInApplicationRoleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusGroupInApplicationRole, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusGroupInApplicationRoleTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string GroupInApplicationRole | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusGroupInApplicationRoleTupleFields.GroupInApplicationRole].AsString(); | ||
50 | set => this.Set((int)ComPlusGroupInApplicationRoleTupleFields.GroupInApplicationRole, value); | ||
51 | } | ||
52 | |||
53 | public string ApplicationRole_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusGroupInApplicationRoleTupleFields.ApplicationRole_].AsString(); | ||
56 | set => this.Set((int)ComPlusGroupInApplicationRoleTupleFields.ApplicationRole_, value); | ||
57 | } | ||
58 | |||
59 | public string Component_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusGroupInApplicationRoleTupleFields.Component_].AsString(); | ||
62 | set => this.Set((int)ComPlusGroupInApplicationRoleTupleFields.Component_, value); | ||
63 | } | ||
64 | |||
65 | public string Group_ | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusGroupInApplicationRoleTupleFields.Group_].AsString(); | ||
68 | set => this.Set((int)ComPlusGroupInApplicationRoleTupleFields.Group_, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusGroupInPartitionRoleTuple.cs b/src/wixext/Tuples/ComPlusGroupInPartitionRoleTuple.cs new file mode 100644 index 00000000..092937f0 --- /dev/null +++ b/src/wixext/Tuples/ComPlusGroupInPartitionRoleTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusGroupInPartitionRole = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusGroupInPartitionRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleTupleFields.GroupInPartitionRole), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleTupleFields.PartitionRole_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleTupleFields.Group_), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusGroupInPartitionRoleTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusGroupInPartitionRoleTupleFields | ||
28 | { | ||
29 | GroupInPartitionRole, | ||
30 | PartitionRole_, | ||
31 | Component_, | ||
32 | Group_, | ||
33 | } | ||
34 | |||
35 | public class ComPlusGroupInPartitionRoleTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusGroupInPartitionRoleTuple() : base(ComPlusTupleDefinitions.ComPlusGroupInPartitionRole, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusGroupInPartitionRoleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusGroupInPartitionRole, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusGroupInPartitionRoleTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string GroupInPartitionRole | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusGroupInPartitionRoleTupleFields.GroupInPartitionRole].AsString(); | ||
50 | set => this.Set((int)ComPlusGroupInPartitionRoleTupleFields.GroupInPartitionRole, value); | ||
51 | } | ||
52 | |||
53 | public string PartitionRole_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusGroupInPartitionRoleTupleFields.PartitionRole_].AsString(); | ||
56 | set => this.Set((int)ComPlusGroupInPartitionRoleTupleFields.PartitionRole_, value); | ||
57 | } | ||
58 | |||
59 | public string Component_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusGroupInPartitionRoleTupleFields.Component_].AsString(); | ||
62 | set => this.Set((int)ComPlusGroupInPartitionRoleTupleFields.Component_, value); | ||
63 | } | ||
64 | |||
65 | public string Group_ | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusGroupInPartitionRoleTupleFields.Group_].AsString(); | ||
68 | set => this.Set((int)ComPlusGroupInPartitionRoleTupleFields.Group_, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusInterfacePropertyTuple.cs b/src/wixext/Tuples/ComPlusInterfacePropertyTuple.cs new file mode 100644 index 00000000..94f12914 --- /dev/null +++ b/src/wixext/Tuples/ComPlusInterfacePropertyTuple.cs | |||
@@ -0,0 +1,63 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusInterfaceProperty = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusInterfaceProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertyTupleFields.Interface_), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertyTupleFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertyTupleFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusInterfacePropertyTuple)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Tuples | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusInterfacePropertyTupleFields | ||
27 | { | ||
28 | Interface_, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusInterfacePropertyTuple : IntermediateTuple | ||
34 | { | ||
35 | public ComPlusInterfacePropertyTuple() : base(ComPlusTupleDefinitions.ComPlusInterfaceProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusInterfacePropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusInterfaceProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusInterfacePropertyTupleFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string Interface_ | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusInterfacePropertyTupleFields.Interface_].AsString(); | ||
48 | set => this.Set((int)ComPlusInterfacePropertyTupleFields.Interface_, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusInterfacePropertyTupleFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusInterfacePropertyTupleFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusInterfacePropertyTupleFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusInterfacePropertyTupleFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusInterfaceTuple.cs b/src/wixext/Tuples/ComPlusInterfaceTuple.cs new file mode 100644 index 00000000..3c4042ef --- /dev/null +++ b/src/wixext/Tuples/ComPlusInterfaceTuple.cs | |||
@@ -0,0 +1,63 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusInterface = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusInterface.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusInterfaceTupleFields.Interface), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusInterfaceTupleFields.ComPlusComponent_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusInterfaceTupleFields.IID), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusInterfaceTuple)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Tuples | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusInterfaceTupleFields | ||
27 | { | ||
28 | Interface, | ||
29 | ComPlusComponent_, | ||
30 | IID, | ||
31 | } | ||
32 | |||
33 | public class ComPlusInterfaceTuple : IntermediateTuple | ||
34 | { | ||
35 | public ComPlusInterfaceTuple() : base(ComPlusTupleDefinitions.ComPlusInterface, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusInterfaceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusInterface, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusInterfaceTupleFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string Interface | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusInterfaceTupleFields.Interface].AsString(); | ||
48 | set => this.Set((int)ComPlusInterfaceTupleFields.Interface, value); | ||
49 | } | ||
50 | |||
51 | public string ComPlusComponent_ | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusInterfaceTupleFields.ComPlusComponent_].AsString(); | ||
54 | set => this.Set((int)ComPlusInterfaceTupleFields.ComPlusComponent_, value); | ||
55 | } | ||
56 | |||
57 | public string IID | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusInterfaceTupleFields.IID].AsString(); | ||
60 | set => this.Set((int)ComPlusInterfaceTupleFields.IID, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusMethodPropertyTuple.cs b/src/wixext/Tuples/ComPlusMethodPropertyTuple.cs new file mode 100644 index 00000000..8ebc3f6b --- /dev/null +++ b/src/wixext/Tuples/ComPlusMethodPropertyTuple.cs | |||
@@ -0,0 +1,63 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusMethodProperty = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusMethodProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusMethodPropertyTupleFields.Method_), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusMethodPropertyTupleFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusMethodPropertyTupleFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusMethodPropertyTuple)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Tuples | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusMethodPropertyTupleFields | ||
27 | { | ||
28 | Method_, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusMethodPropertyTuple : IntermediateTuple | ||
34 | { | ||
35 | public ComPlusMethodPropertyTuple() : base(ComPlusTupleDefinitions.ComPlusMethodProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusMethodPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusMethodProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusMethodPropertyTupleFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string Method_ | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusMethodPropertyTupleFields.Method_].AsString(); | ||
48 | set => this.Set((int)ComPlusMethodPropertyTupleFields.Method_, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusMethodPropertyTupleFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusMethodPropertyTupleFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusMethodPropertyTupleFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusMethodPropertyTupleFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusMethodTuple.cs b/src/wixext/Tuples/ComPlusMethodTuple.cs new file mode 100644 index 00000000..bcca034a --- /dev/null +++ b/src/wixext/Tuples/ComPlusMethodTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusMethod = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusMethod.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Method), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Interface_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Index), IntermediateFieldType.Number), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Name), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusMethodTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusMethodTupleFields | ||
28 | { | ||
29 | Method, | ||
30 | Interface_, | ||
31 | Index, | ||
32 | Name, | ||
33 | } | ||
34 | |||
35 | public class ComPlusMethodTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusMethodTuple() : base(ComPlusTupleDefinitions.ComPlusMethod, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusMethodTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusMethod, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusMethodTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string Method | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusMethodTupleFields.Method].AsString(); | ||
50 | set => this.Set((int)ComPlusMethodTupleFields.Method, value); | ||
51 | } | ||
52 | |||
53 | public string Interface_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusMethodTupleFields.Interface_].AsString(); | ||
56 | set => this.Set((int)ComPlusMethodTupleFields.Interface_, value); | ||
57 | } | ||
58 | |||
59 | public int Index | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusMethodTupleFields.Index].AsNumber(); | ||
62 | set => this.Set((int)ComPlusMethodTupleFields.Index, value); | ||
63 | } | ||
64 | |||
65 | public string Name | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusMethodTupleFields.Name].AsString(); | ||
68 | set => this.Set((int)ComPlusMethodTupleFields.Name, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusPartitionPropertyTuple.cs b/src/wixext/Tuples/ComPlusPartitionPropertyTuple.cs new file mode 100644 index 00000000..3427b10a --- /dev/null +++ b/src/wixext/Tuples/ComPlusPartitionPropertyTuple.cs | |||
@@ -0,0 +1,63 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusPartitionProperty = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusPartitionProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertyTupleFields.Partition_), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertyTupleFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertyTupleFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusPartitionPropertyTuple)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Tuples | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusPartitionPropertyTupleFields | ||
27 | { | ||
28 | Partition_, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusPartitionPropertyTuple : IntermediateTuple | ||
34 | { | ||
35 | public ComPlusPartitionPropertyTuple() : base(ComPlusTupleDefinitions.ComPlusPartitionProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusPartitionPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusPartitionProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusPartitionPropertyTupleFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string Partition_ | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusPartitionPropertyTupleFields.Partition_].AsString(); | ||
48 | set => this.Set((int)ComPlusPartitionPropertyTupleFields.Partition_, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusPartitionPropertyTupleFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusPartitionPropertyTupleFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusPartitionPropertyTupleFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusPartitionPropertyTupleFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusPartitionRoleTuple.cs b/src/wixext/Tuples/ComPlusPartitionRoleTuple.cs new file mode 100644 index 00000000..a2259cc6 --- /dev/null +++ b/src/wixext/Tuples/ComPlusPartitionRoleTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusPartitionRole = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusPartitionRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleTupleFields.PartitionRole), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleTupleFields.Partition_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleTupleFields.Name), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusPartitionRoleTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusPartitionRoleTupleFields | ||
28 | { | ||
29 | PartitionRole, | ||
30 | Partition_, | ||
31 | Component_, | ||
32 | Name, | ||
33 | } | ||
34 | |||
35 | public class ComPlusPartitionRoleTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusPartitionRoleTuple() : base(ComPlusTupleDefinitions.ComPlusPartitionRole, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusPartitionRoleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusPartitionRole, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusPartitionRoleTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string PartitionRole | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusPartitionRoleTupleFields.PartitionRole].AsString(); | ||
50 | set => this.Set((int)ComPlusPartitionRoleTupleFields.PartitionRole, value); | ||
51 | } | ||
52 | |||
53 | public string Partition_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusPartitionRoleTupleFields.Partition_].AsString(); | ||
56 | set => this.Set((int)ComPlusPartitionRoleTupleFields.Partition_, value); | ||
57 | } | ||
58 | |||
59 | public string Component_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusPartitionRoleTupleFields.Component_].AsString(); | ||
62 | set => this.Set((int)ComPlusPartitionRoleTupleFields.Component_, value); | ||
63 | } | ||
64 | |||
65 | public string Name | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusPartitionRoleTupleFields.Name].AsString(); | ||
68 | set => this.Set((int)ComPlusPartitionRoleTupleFields.Name, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusPartitionTuple.cs b/src/wixext/Tuples/ComPlusPartitionTuple.cs new file mode 100644 index 00000000..68de9955 --- /dev/null +++ b/src/wixext/Tuples/ComPlusPartitionTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusPartition = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusPartition.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusPartitionTupleFields.Partition), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusPartitionTupleFields.Component_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusPartitionTupleFields.CustomId), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusPartitionTupleFields.Name), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusPartitionTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusPartitionTupleFields | ||
28 | { | ||
29 | Partition, | ||
30 | Component_, | ||
31 | CustomId, | ||
32 | Name, | ||
33 | } | ||
34 | |||
35 | public class ComPlusPartitionTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusPartitionTuple() : base(ComPlusTupleDefinitions.ComPlusPartition, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusPartitionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusPartition, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusPartitionTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string Partition | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusPartitionTupleFields.Partition].AsString(); | ||
50 | set => this.Set((int)ComPlusPartitionTupleFields.Partition, value); | ||
51 | } | ||
52 | |||
53 | public string Component_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusPartitionTupleFields.Component_].AsString(); | ||
56 | set => this.Set((int)ComPlusPartitionTupleFields.Component_, value); | ||
57 | } | ||
58 | |||
59 | public string CustomId | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusPartitionTupleFields.CustomId].AsString(); | ||
62 | set => this.Set((int)ComPlusPartitionTupleFields.CustomId, value); | ||
63 | } | ||
64 | |||
65 | public string Name | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusPartitionTupleFields.Name].AsString(); | ||
68 | set => this.Set((int)ComPlusPartitionTupleFields.Name, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusPartitionUserTuple.cs b/src/wixext/Tuples/ComPlusPartitionUserTuple.cs new file mode 100644 index 00000000..33a58d38 --- /dev/null +++ b/src/wixext/Tuples/ComPlusPartitionUserTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusPartitionUser = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusPartitionUser.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.PartitionUser), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.Partition_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusPartitionUserTupleFields.User_), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusPartitionUserTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusPartitionUserTupleFields | ||
28 | { | ||
29 | PartitionUser, | ||
30 | Partition_, | ||
31 | Component_, | ||
32 | User_, | ||
33 | } | ||
34 | |||
35 | public class ComPlusPartitionUserTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusPartitionUserTuple() : base(ComPlusTupleDefinitions.ComPlusPartitionUser, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusPartitionUserTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusPartitionUser, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusPartitionUserTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string PartitionUser | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusPartitionUserTupleFields.PartitionUser].AsString(); | ||
50 | set => this.Set((int)ComPlusPartitionUserTupleFields.PartitionUser, value); | ||
51 | } | ||
52 | |||
53 | public string Partition_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusPartitionUserTupleFields.Partition_].AsString(); | ||
56 | set => this.Set((int)ComPlusPartitionUserTupleFields.Partition_, value); | ||
57 | } | ||
58 | |||
59 | public string Component_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusPartitionUserTupleFields.Component_].AsString(); | ||
62 | set => this.Set((int)ComPlusPartitionUserTupleFields.Component_, value); | ||
63 | } | ||
64 | |||
65 | public string User_ | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusPartitionUserTupleFields.User_].AsString(); | ||
68 | set => this.Set((int)ComPlusPartitionUserTupleFields.User_, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusRoleForComponentTuple.cs b/src/wixext/Tuples/ComPlusRoleForComponentTuple.cs new file mode 100644 index 00000000..75d8cfaf --- /dev/null +++ b/src/wixext/Tuples/ComPlusRoleForComponentTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusRoleForComponent = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusRoleForComponent.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentTupleFields.RoleForComponent), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentTupleFields.ComPlusComponent_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentTupleFields.ApplicationRole_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentTupleFields.Component_), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusRoleForComponentTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusRoleForComponentTupleFields | ||
28 | { | ||
29 | RoleForComponent, | ||
30 | ComPlusComponent_, | ||
31 | ApplicationRole_, | ||
32 | Component_, | ||
33 | } | ||
34 | |||
35 | public class ComPlusRoleForComponentTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusRoleForComponentTuple() : base(ComPlusTupleDefinitions.ComPlusRoleForComponent, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusRoleForComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusRoleForComponent, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusRoleForComponentTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string RoleForComponent | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusRoleForComponentTupleFields.RoleForComponent].AsString(); | ||
50 | set => this.Set((int)ComPlusRoleForComponentTupleFields.RoleForComponent, value); | ||
51 | } | ||
52 | |||
53 | public string ComPlusComponent_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusRoleForComponentTupleFields.ComPlusComponent_].AsString(); | ||
56 | set => this.Set((int)ComPlusRoleForComponentTupleFields.ComPlusComponent_, value); | ||
57 | } | ||
58 | |||
59 | public string ApplicationRole_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusRoleForComponentTupleFields.ApplicationRole_].AsString(); | ||
62 | set => this.Set((int)ComPlusRoleForComponentTupleFields.ApplicationRole_, value); | ||
63 | } | ||
64 | |||
65 | public string Component_ | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusRoleForComponentTupleFields.Component_].AsString(); | ||
68 | set => this.Set((int)ComPlusRoleForComponentTupleFields.Component_, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusRoleForInterfaceTuple.cs b/src/wixext/Tuples/ComPlusRoleForInterfaceTuple.cs new file mode 100644 index 00000000..139417d3 --- /dev/null +++ b/src/wixext/Tuples/ComPlusRoleForInterfaceTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusRoleForInterface = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusRoleForInterface.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceTupleFields.RoleForInterface), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceTupleFields.Interface_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceTupleFields.ApplicationRole_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceTupleFields.Component_), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusRoleForInterfaceTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusRoleForInterfaceTupleFields | ||
28 | { | ||
29 | RoleForInterface, | ||
30 | Interface_, | ||
31 | ApplicationRole_, | ||
32 | Component_, | ||
33 | } | ||
34 | |||
35 | public class ComPlusRoleForInterfaceTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusRoleForInterfaceTuple() : base(ComPlusTupleDefinitions.ComPlusRoleForInterface, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusRoleForInterfaceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusRoleForInterface, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusRoleForInterfaceTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string RoleForInterface | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusRoleForInterfaceTupleFields.RoleForInterface].AsString(); | ||
50 | set => this.Set((int)ComPlusRoleForInterfaceTupleFields.RoleForInterface, value); | ||
51 | } | ||
52 | |||
53 | public string Interface_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusRoleForInterfaceTupleFields.Interface_].AsString(); | ||
56 | set => this.Set((int)ComPlusRoleForInterfaceTupleFields.Interface_, value); | ||
57 | } | ||
58 | |||
59 | public string ApplicationRole_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusRoleForInterfaceTupleFields.ApplicationRole_].AsString(); | ||
62 | set => this.Set((int)ComPlusRoleForInterfaceTupleFields.ApplicationRole_, value); | ||
63 | } | ||
64 | |||
65 | public string Component_ | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusRoleForInterfaceTupleFields.Component_].AsString(); | ||
68 | set => this.Set((int)ComPlusRoleForInterfaceTupleFields.Component_, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusRoleForMethodTuple.cs b/src/wixext/Tuples/ComPlusRoleForMethodTuple.cs new file mode 100644 index 00000000..5b6e994e --- /dev/null +++ b/src/wixext/Tuples/ComPlusRoleForMethodTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusRoleForMethod = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusRoleForMethod.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodTupleFields.RoleForMethod), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodTupleFields.Method_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodTupleFields.ApplicationRole_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodTupleFields.Component_), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusRoleForMethodTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusRoleForMethodTupleFields | ||
28 | { | ||
29 | RoleForMethod, | ||
30 | Method_, | ||
31 | ApplicationRole_, | ||
32 | Component_, | ||
33 | } | ||
34 | |||
35 | public class ComPlusRoleForMethodTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusRoleForMethodTuple() : base(ComPlusTupleDefinitions.ComPlusRoleForMethod, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusRoleForMethodTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusRoleForMethod, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusRoleForMethodTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string RoleForMethod | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusRoleForMethodTupleFields.RoleForMethod].AsString(); | ||
50 | set => this.Set((int)ComPlusRoleForMethodTupleFields.RoleForMethod, value); | ||
51 | } | ||
52 | |||
53 | public string Method_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusRoleForMethodTupleFields.Method_].AsString(); | ||
56 | set => this.Set((int)ComPlusRoleForMethodTupleFields.Method_, value); | ||
57 | } | ||
58 | |||
59 | public string ApplicationRole_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusRoleForMethodTupleFields.ApplicationRole_].AsString(); | ||
62 | set => this.Set((int)ComPlusRoleForMethodTupleFields.ApplicationRole_, value); | ||
63 | } | ||
64 | |||
65 | public string Component_ | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusRoleForMethodTupleFields.Component_].AsString(); | ||
68 | set => this.Set((int)ComPlusRoleForMethodTupleFields.Component_, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusSubscriptionPropertyTuple.cs b/src/wixext/Tuples/ComPlusSubscriptionPropertyTuple.cs new file mode 100644 index 00000000..ad0841f4 --- /dev/null +++ b/src/wixext/Tuples/ComPlusSubscriptionPropertyTuple.cs | |||
@@ -0,0 +1,63 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusSubscriptionProperty = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusSubscriptionProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertyTupleFields.Subscription_), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertyTupleFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertyTupleFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusSubscriptionPropertyTuple)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Tuples | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusSubscriptionPropertyTupleFields | ||
27 | { | ||
28 | Subscription_, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusSubscriptionPropertyTuple : IntermediateTuple | ||
34 | { | ||
35 | public ComPlusSubscriptionPropertyTuple() : base(ComPlusTupleDefinitions.ComPlusSubscriptionProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusSubscriptionPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusSubscriptionProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusSubscriptionPropertyTupleFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string Subscription_ | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusSubscriptionPropertyTupleFields.Subscription_].AsString(); | ||
48 | set => this.Set((int)ComPlusSubscriptionPropertyTupleFields.Subscription_, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusSubscriptionPropertyTupleFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusSubscriptionPropertyTupleFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusSubscriptionPropertyTupleFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusSubscriptionPropertyTupleFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusSubscriptionTuple.cs b/src/wixext/Tuples/ComPlusSubscriptionTuple.cs new file mode 100644 index 00000000..fedab172 --- /dev/null +++ b/src/wixext/Tuples/ComPlusSubscriptionTuple.cs | |||
@@ -0,0 +1,95 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusSubscription = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusSubscription.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionTupleFields.Subscription), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionTupleFields.ComPlusComponent_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionTupleFields.CustomId), IntermediateFieldType.String), | ||
18 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionTupleFields.Name), IntermediateFieldType.String), | ||
19 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionTupleFields.EventCLSID), IntermediateFieldType.String), | ||
20 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionTupleFields.PublisherID), IntermediateFieldType.String), | ||
21 | }, | ||
22 | typeof(ComPlusSubscriptionTuple)); | ||
23 | } | ||
24 | } | ||
25 | |||
26 | namespace WixToolset.ComPlus.Tuples | ||
27 | { | ||
28 | using WixToolset.Data; | ||
29 | |||
30 | public enum ComPlusSubscriptionTupleFields | ||
31 | { | ||
32 | Subscription, | ||
33 | ComPlusComponent_, | ||
34 | Component_, | ||
35 | CustomId, | ||
36 | Name, | ||
37 | EventCLSID, | ||
38 | PublisherID, | ||
39 | } | ||
40 | |||
41 | public class ComPlusSubscriptionTuple : IntermediateTuple | ||
42 | { | ||
43 | public ComPlusSubscriptionTuple() : base(ComPlusTupleDefinitions.ComPlusSubscription, null, null) | ||
44 | { | ||
45 | } | ||
46 | |||
47 | public ComPlusSubscriptionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusSubscription, sourceLineNumber, id) | ||
48 | { | ||
49 | } | ||
50 | |||
51 | public IntermediateField this[ComPlusSubscriptionTupleFields index] => this.Fields[(int)index]; | ||
52 | |||
53 | public string Subscription | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusSubscriptionTupleFields.Subscription].AsString(); | ||
56 | set => this.Set((int)ComPlusSubscriptionTupleFields.Subscription, value); | ||
57 | } | ||
58 | |||
59 | public string ComPlusComponent_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusSubscriptionTupleFields.ComPlusComponent_].AsString(); | ||
62 | set => this.Set((int)ComPlusSubscriptionTupleFields.ComPlusComponent_, value); | ||
63 | } | ||
64 | |||
65 | public string Component_ | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusSubscriptionTupleFields.Component_].AsString(); | ||
68 | set => this.Set((int)ComPlusSubscriptionTupleFields.Component_, value); | ||
69 | } | ||
70 | |||
71 | public string CustomId | ||
72 | { | ||
73 | get => this.Fields[(int)ComPlusSubscriptionTupleFields.CustomId].AsString(); | ||
74 | set => this.Set((int)ComPlusSubscriptionTupleFields.CustomId, value); | ||
75 | } | ||
76 | |||
77 | public string Name | ||
78 | { | ||
79 | get => this.Fields[(int)ComPlusSubscriptionTupleFields.Name].AsString(); | ||
80 | set => this.Set((int)ComPlusSubscriptionTupleFields.Name, value); | ||
81 | } | ||
82 | |||
83 | public string EventCLSID | ||
84 | { | ||
85 | get => this.Fields[(int)ComPlusSubscriptionTupleFields.EventCLSID].AsString(); | ||
86 | set => this.Set((int)ComPlusSubscriptionTupleFields.EventCLSID, value); | ||
87 | } | ||
88 | |||
89 | public string PublisherID | ||
90 | { | ||
91 | get => this.Fields[(int)ComPlusSubscriptionTupleFields.PublisherID].AsString(); | ||
92 | set => this.Set((int)ComPlusSubscriptionTupleFields.PublisherID, value); | ||
93 | } | ||
94 | } | ||
95 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusTupleDefinitions.cs b/src/wixext/Tuples/ComPlusTupleDefinitions.cs new file mode 100644 index 00000000..1019c046 --- /dev/null +++ b/src/wixext/Tuples/ComPlusTupleDefinitions.cs | |||
@@ -0,0 +1,135 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using System; | ||
6 | using WixToolset.Data; | ||
7 | |||
8 | public enum ComPlusTupleDefinitionType | ||
9 | { | ||
10 | ComPlusApplication, | ||
11 | ComPlusApplicationProperty, | ||
12 | ComPlusApplicationRole, | ||
13 | ComPlusApplicationRoleProperty, | ||
14 | ComPlusAssembly, | ||
15 | ComPlusAssemblyDependency, | ||
16 | ComPlusComponent, | ||
17 | ComPlusComponentProperty, | ||
18 | ComPlusGroupInApplicationRole, | ||
19 | ComPlusGroupInPartitionRole, | ||
20 | ComPlusInterface, | ||
21 | ComPlusInterfaceProperty, | ||
22 | ComPlusMethod, | ||
23 | ComPlusMethodProperty, | ||
24 | ComPlusPartition, | ||
25 | ComPlusPartitionProperty, | ||
26 | ComPlusPartitionRole, | ||
27 | ComPlusPartitionUser, | ||
28 | ComPlusRoleForComponent, | ||
29 | ComPlusRoleForInterface, | ||
30 | ComPlusRoleForMethod, | ||
31 | ComPlusSubscription, | ||
32 | ComPlusSubscriptionProperty, | ||
33 | ComPlusUserInApplicationRole, | ||
34 | ComPlusUserInPartitionRole, | ||
35 | } | ||
36 | |||
37 | public static partial class ComPlusTupleDefinitions | ||
38 | { | ||
39 | public static readonly Version Version = new Version("4.0.0"); | ||
40 | |||
41 | public static IntermediateTupleDefinition ByName(string name) | ||
42 | { | ||
43 | if (!Enum.TryParse(name, out ComPlusTupleDefinitionType type)) | ||
44 | { | ||
45 | return null; | ||
46 | } | ||
47 | |||
48 | return ByType(type); | ||
49 | } | ||
50 | |||
51 | public static IntermediateTupleDefinition ByType(ComPlusTupleDefinitionType type) | ||
52 | { | ||
53 | switch (type) | ||
54 | { | ||
55 | case ComPlusTupleDefinitionType.ComPlusApplication: | ||
56 | return ComPlusTupleDefinitions.ComPlusApplication; | ||
57 | |||
58 | case ComPlusTupleDefinitionType.ComPlusApplicationProperty: | ||
59 | return ComPlusTupleDefinitions.ComPlusApplicationProperty; | ||
60 | |||
61 | case ComPlusTupleDefinitionType.ComPlusApplicationRole: | ||
62 | return ComPlusTupleDefinitions.ComPlusApplicationRole; | ||
63 | |||
64 | case ComPlusTupleDefinitionType.ComPlusApplicationRoleProperty: | ||
65 | return ComPlusTupleDefinitions.ComPlusApplicationRoleProperty; | ||
66 | |||
67 | case ComPlusTupleDefinitionType.ComPlusAssembly: | ||
68 | return ComPlusTupleDefinitions.ComPlusAssembly; | ||
69 | |||
70 | case ComPlusTupleDefinitionType.ComPlusAssemblyDependency: | ||
71 | return ComPlusTupleDefinitions.ComPlusAssemblyDependency; | ||
72 | |||
73 | case ComPlusTupleDefinitionType.ComPlusComponent: | ||
74 | return ComPlusTupleDefinitions.ComPlusComponent; | ||
75 | |||
76 | case ComPlusTupleDefinitionType.ComPlusComponentProperty: | ||
77 | return ComPlusTupleDefinitions.ComPlusComponentProperty; | ||
78 | |||
79 | case ComPlusTupleDefinitionType.ComPlusGroupInApplicationRole: | ||
80 | return ComPlusTupleDefinitions.ComPlusGroupInApplicationRole; | ||
81 | |||
82 | case ComPlusTupleDefinitionType.ComPlusGroupInPartitionRole: | ||
83 | return ComPlusTupleDefinitions.ComPlusGroupInPartitionRole; | ||
84 | |||
85 | case ComPlusTupleDefinitionType.ComPlusInterface: | ||
86 | return ComPlusTupleDefinitions.ComPlusInterface; | ||
87 | |||
88 | case ComPlusTupleDefinitionType.ComPlusInterfaceProperty: | ||
89 | return ComPlusTupleDefinitions.ComPlusInterfaceProperty; | ||
90 | |||
91 | case ComPlusTupleDefinitionType.ComPlusMethod: | ||
92 | return ComPlusTupleDefinitions.ComPlusMethod; | ||
93 | |||
94 | case ComPlusTupleDefinitionType.ComPlusMethodProperty: | ||
95 | return ComPlusTupleDefinitions.ComPlusMethodProperty; | ||
96 | |||
97 | case ComPlusTupleDefinitionType.ComPlusPartition: | ||
98 | return ComPlusTupleDefinitions.ComPlusPartition; | ||
99 | |||
100 | case ComPlusTupleDefinitionType.ComPlusPartitionProperty: | ||
101 | return ComPlusTupleDefinitions.ComPlusPartitionProperty; | ||
102 | |||
103 | case ComPlusTupleDefinitionType.ComPlusPartitionRole: | ||
104 | return ComPlusTupleDefinitions.ComPlusPartitionRole; | ||
105 | |||
106 | case ComPlusTupleDefinitionType.ComPlusPartitionUser: | ||
107 | return ComPlusTupleDefinitions.ComPlusPartitionUser; | ||
108 | |||
109 | case ComPlusTupleDefinitionType.ComPlusRoleForComponent: | ||
110 | return ComPlusTupleDefinitions.ComPlusRoleForComponent; | ||
111 | |||
112 | case ComPlusTupleDefinitionType.ComPlusRoleForInterface: | ||
113 | return ComPlusTupleDefinitions.ComPlusRoleForInterface; | ||
114 | |||
115 | case ComPlusTupleDefinitionType.ComPlusRoleForMethod: | ||
116 | return ComPlusTupleDefinitions.ComPlusRoleForMethod; | ||
117 | |||
118 | case ComPlusTupleDefinitionType.ComPlusSubscription: | ||
119 | return ComPlusTupleDefinitions.ComPlusSubscription; | ||
120 | |||
121 | case ComPlusTupleDefinitionType.ComPlusSubscriptionProperty: | ||
122 | return ComPlusTupleDefinitions.ComPlusSubscriptionProperty; | ||
123 | |||
124 | case ComPlusTupleDefinitionType.ComPlusUserInApplicationRole: | ||
125 | return ComPlusTupleDefinitions.ComPlusUserInApplicationRole; | ||
126 | |||
127 | case ComPlusTupleDefinitionType.ComPlusUserInPartitionRole: | ||
128 | return ComPlusTupleDefinitions.ComPlusUserInPartitionRole; | ||
129 | |||
130 | default: | ||
131 | throw new ArgumentOutOfRangeException(nameof(type)); | ||
132 | } | ||
133 | } | ||
134 | } | ||
135 | } | ||
diff --git a/src/wixext/Tuples/ComPlusUserInApplicationRoleTuple.cs b/src/wixext/Tuples/ComPlusUserInApplicationRoleTuple.cs new file mode 100644 index 00000000..3916c0ee --- /dev/null +++ b/src/wixext/Tuples/ComPlusUserInApplicationRoleTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusUserInApplicationRole = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusUserInApplicationRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleTupleFields.UserInApplicationRole), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleTupleFields.ApplicationRole_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleTupleFields.User_), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusUserInApplicationRoleTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusUserInApplicationRoleTupleFields | ||
28 | { | ||
29 | UserInApplicationRole, | ||
30 | ApplicationRole_, | ||
31 | Component_, | ||
32 | User_, | ||
33 | } | ||
34 | |||
35 | public class ComPlusUserInApplicationRoleTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusUserInApplicationRoleTuple() : base(ComPlusTupleDefinitions.ComPlusUserInApplicationRole, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusUserInApplicationRoleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusUserInApplicationRole, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusUserInApplicationRoleTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string UserInApplicationRole | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusUserInApplicationRoleTupleFields.UserInApplicationRole].AsString(); | ||
50 | set => this.Set((int)ComPlusUserInApplicationRoleTupleFields.UserInApplicationRole, value); | ||
51 | } | ||
52 | |||
53 | public string ApplicationRole_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusUserInApplicationRoleTupleFields.ApplicationRole_].AsString(); | ||
56 | set => this.Set((int)ComPlusUserInApplicationRoleTupleFields.ApplicationRole_, value); | ||
57 | } | ||
58 | |||
59 | public string Component_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusUserInApplicationRoleTupleFields.Component_].AsString(); | ||
62 | set => this.Set((int)ComPlusUserInApplicationRoleTupleFields.Component_, value); | ||
63 | } | ||
64 | |||
65 | public string User_ | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusUserInApplicationRoleTupleFields.User_].AsString(); | ||
68 | set => this.Set((int)ComPlusUserInApplicationRoleTupleFields.User_, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/wixext/Tuples/ComPlusUserInPartitionRoleTuple.cs b/src/wixext/Tuples/ComPlusUserInPartitionRoleTuple.cs new file mode 100644 index 00000000..06d742b8 --- /dev/null +++ b/src/wixext/Tuples/ComPlusUserInPartitionRoleTuple.cs | |||
@@ -0,0 +1,71 @@ | |||
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.ComPlus | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.ComPlus.Tuples; | ||
7 | |||
8 | public static partial class ComPlusTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition ComPlusUserInPartitionRole = new IntermediateTupleDefinition( | ||
11 | ComPlusTupleDefinitionType.ComPlusUserInPartitionRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleTupleFields.UserInPartitionRole), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleTupleFields.PartitionRole_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleTupleFields.Component_), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleTupleFields.User_), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusUserInPartitionRoleTuple)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Tuples | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusUserInPartitionRoleTupleFields | ||
28 | { | ||
29 | UserInPartitionRole, | ||
30 | PartitionRole_, | ||
31 | Component_, | ||
32 | User_, | ||
33 | } | ||
34 | |||
35 | public class ComPlusUserInPartitionRoleTuple : IntermediateTuple | ||
36 | { | ||
37 | public ComPlusUserInPartitionRoleTuple() : base(ComPlusTupleDefinitions.ComPlusUserInPartitionRole, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusUserInPartitionRoleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusUserInPartitionRole, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusUserInPartitionRoleTupleFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string UserInPartitionRole | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusUserInPartitionRoleTupleFields.UserInPartitionRole].AsString(); | ||
50 | set => this.Set((int)ComPlusUserInPartitionRoleTupleFields.UserInPartitionRole, value); | ||
51 | } | ||
52 | |||
53 | public string PartitionRole_ | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusUserInPartitionRoleTupleFields.PartitionRole_].AsString(); | ||
56 | set => this.Set((int)ComPlusUserInPartitionRoleTupleFields.PartitionRole_, value); | ||
57 | } | ||
58 | |||
59 | public string Component_ | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusUserInPartitionRoleTupleFields.Component_].AsString(); | ||
62 | set => this.Set((int)ComPlusUserInPartitionRoleTupleFields.Component_, value); | ||
63 | } | ||
64 | |||
65 | public string User_ | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusUserInPartitionRoleTupleFields.User_].AsString(); | ||
68 | set => this.Set((int)ComPlusUserInPartitionRoleTupleFields.User_, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||