diff options
Diffstat (limited to 'src/ext/ComPlus/wixext/Symbols')
26 files changed, 1758 insertions, 0 deletions
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationPropertySymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationPropertySymbol.cs new file mode 100644 index 00000000..6d1e2d28 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationPropertySymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusApplicationProperty = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusApplicationProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertySymbolFields.ApplicationRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertySymbolFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertySymbolFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusApplicationPropertySymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusApplicationPropertySymbolFields | ||
27 | { | ||
28 | ApplicationRef, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusApplicationPropertySymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusApplicationPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusApplicationProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusApplicationPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplicationProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusApplicationPropertySymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ApplicationRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusApplicationPropertySymbolFields.ApplicationRef].AsString(); | ||
48 | set => this.Set((int)ComPlusApplicationPropertySymbolFields.ApplicationRef, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusApplicationPropertySymbolFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusApplicationPropertySymbolFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusApplicationPropertySymbolFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusApplicationPropertySymbolFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationRolePropertySymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationRolePropertySymbol.cs new file mode 100644 index 00000000..3b957899 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationRolePropertySymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusApplicationRoleProperty = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusApplicationRoleProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertySymbolFields.ApplicationRoleRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertySymbolFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertySymbolFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusApplicationRolePropertySymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusApplicationRolePropertySymbolFields | ||
27 | { | ||
28 | ApplicationRoleRef, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusApplicationRolePropertySymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusApplicationRolePropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusApplicationRoleProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusApplicationRolePropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplicationRoleProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusApplicationRolePropertySymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ApplicationRoleRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusApplicationRolePropertySymbolFields.ApplicationRoleRef].AsString(); | ||
48 | set => this.Set((int)ComPlusApplicationRolePropertySymbolFields.ApplicationRoleRef, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusApplicationRolePropertySymbolFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusApplicationRolePropertySymbolFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusApplicationRolePropertySymbolFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusApplicationRolePropertySymbolFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationRoleSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationRoleSymbol.cs new file mode 100644 index 00000000..84028ee3 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationRoleSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusApplicationRole = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusApplicationRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleSymbolFields.ApplicationRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleSymbolFields.Name), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusApplicationRoleSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusApplicationRoleSymbolFields | ||
27 | { | ||
28 | ApplicationRef, | ||
29 | ComponentRef, | ||
30 | Name, | ||
31 | } | ||
32 | |||
33 | public class ComPlusApplicationRoleSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusApplicationRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusApplicationRole, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusApplicationRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplicationRole, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusApplicationRoleSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ApplicationRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusApplicationRoleSymbolFields.ApplicationRef].AsString(); | ||
48 | set => this.Set((int)ComPlusApplicationRoleSymbolFields.ApplicationRef, value); | ||
49 | } | ||
50 | |||
51 | public string ComponentRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusApplicationRoleSymbolFields.ComponentRef].AsString(); | ||
54 | set => this.Set((int)ComPlusApplicationRoleSymbolFields.ComponentRef, value); | ||
55 | } | ||
56 | |||
57 | public string Name | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusApplicationRoleSymbolFields.Name].AsString(); | ||
60 | set => this.Set((int)ComPlusApplicationRoleSymbolFields.Name, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationSymbol.cs new file mode 100644 index 00000000..ce541e43 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusApplicationSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusApplication = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusApplication.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.PartitionRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.ApplicationId), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.Name), IntermediateFieldType.String), | ||
18 | }, | ||
19 | typeof(ComPlusApplicationSymbol)); | ||
20 | } | ||
21 | } | ||
22 | |||
23 | namespace WixToolset.ComPlus.Symbols | ||
24 | { | ||
25 | using WixToolset.Data; | ||
26 | |||
27 | public enum ComPlusApplicationSymbolFields | ||
28 | { | ||
29 | PartitionRef, | ||
30 | ComponentRef, | ||
31 | ApplicationId, | ||
32 | Name, | ||
33 | } | ||
34 | |||
35 | public class ComPlusApplicationSymbol : IntermediateSymbol | ||
36 | { | ||
37 | public ComPlusApplicationSymbol() : base(ComPlusSymbolDefinitions.ComPlusApplication, null, null) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public ComPlusApplicationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplication, sourceLineNumber, id) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IntermediateField this[ComPlusApplicationSymbolFields index] => this.Fields[(int)index]; | ||
46 | |||
47 | public string PartitionRef | ||
48 | { | ||
49 | get => this.Fields[(int)ComPlusApplicationSymbolFields.PartitionRef].AsString(); | ||
50 | set => this.Set((int)ComPlusApplicationSymbolFields.PartitionRef, value); | ||
51 | } | ||
52 | |||
53 | public string ComponentRef | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusApplicationSymbolFields.ComponentRef].AsString(); | ||
56 | set => this.Set((int)ComPlusApplicationSymbolFields.ComponentRef, value); | ||
57 | } | ||
58 | |||
59 | public string ApplicationId | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusApplicationSymbolFields.ApplicationId].AsString(); | ||
62 | set => this.Set((int)ComPlusApplicationSymbolFields.ApplicationId, value); | ||
63 | } | ||
64 | |||
65 | public string Name | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusApplicationSymbolFields.Name].AsString(); | ||
68 | set => this.Set((int)ComPlusApplicationSymbolFields.Name, value); | ||
69 | } | ||
70 | } | ||
71 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusAssemblyDependencySymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusAssemblyDependencySymbol.cs new file mode 100644 index 00000000..549d53e4 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusAssemblyDependencySymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusAssemblyDependency = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusAssemblyDependency.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyDependencySymbolFields.AssemblyRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusAssemblyDependencySymbolFields.RequiredAssemblyRef), IntermediateFieldType.String), | ||
16 | }, | ||
17 | typeof(ComPlusAssemblyDependencySymbol)); | ||
18 | } | ||
19 | } | ||
20 | |||
21 | namespace WixToolset.ComPlus.Symbols | ||
22 | { | ||
23 | using WixToolset.Data; | ||
24 | |||
25 | public enum ComPlusAssemblyDependencySymbolFields | ||
26 | { | ||
27 | AssemblyRef, | ||
28 | RequiredAssemblyRef, | ||
29 | } | ||
30 | |||
31 | public class ComPlusAssemblyDependencySymbol : IntermediateSymbol | ||
32 | { | ||
33 | public ComPlusAssemblyDependencySymbol() : base(ComPlusSymbolDefinitions.ComPlusAssemblyDependency, null, null) | ||
34 | { | ||
35 | } | ||
36 | |||
37 | public ComPlusAssemblyDependencySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusAssemblyDependency, sourceLineNumber, id) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public IntermediateField this[ComPlusAssemblyDependencySymbolFields index] => this.Fields[(int)index]; | ||
42 | |||
43 | public string AssemblyRef | ||
44 | { | ||
45 | get => this.Fields[(int)ComPlusAssemblyDependencySymbolFields.AssemblyRef].AsString(); | ||
46 | set => this.Set((int)ComPlusAssemblyDependencySymbolFields.AssemblyRef, value); | ||
47 | } | ||
48 | |||
49 | public string RequiredAssemblyRef | ||
50 | { | ||
51 | get => this.Fields[(int)ComPlusAssemblyDependencySymbolFields.RequiredAssemblyRef].AsString(); | ||
52 | set => this.Set((int)ComPlusAssemblyDependencySymbolFields.RequiredAssemblyRef, value); | ||
53 | } | ||
54 | } | ||
55 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusAssemblySymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusAssemblySymbol.cs new file mode 100644 index 00000000..1329df30 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusAssemblySymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusAssembly = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusAssembly.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.ApplicationRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.ComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.AssemblyName), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.DllPath), IntermediateFieldType.String), | ||
18 | new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.TlbPath), IntermediateFieldType.String), | ||
19 | new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.PSDllPath), IntermediateFieldType.String), | ||
20 | new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.Attributes), IntermediateFieldType.Number), | ||
21 | }, | ||
22 | typeof(ComPlusAssemblySymbol)); | ||
23 | } | ||
24 | } | ||
25 | |||
26 | namespace WixToolset.ComPlus.Symbols | ||
27 | { | ||
28 | using WixToolset.Data; | ||
29 | |||
30 | public enum ComPlusAssemblySymbolFields | ||
31 | { | ||
32 | ApplicationRef, | ||
33 | ComponentRef, | ||
34 | AssemblyName, | ||
35 | DllPath, | ||
36 | TlbPath, | ||
37 | PSDllPath, | ||
38 | Attributes, | ||
39 | } | ||
40 | |||
41 | public class ComPlusAssemblySymbol : IntermediateSymbol | ||
42 | { | ||
43 | public ComPlusAssemblySymbol() : base(ComPlusSymbolDefinitions.ComPlusAssembly, null, null) | ||
44 | { | ||
45 | } | ||
46 | |||
47 | public ComPlusAssemblySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusAssembly, sourceLineNumber, id) | ||
48 | { | ||
49 | } | ||
50 | |||
51 | public IntermediateField this[ComPlusAssemblySymbolFields index] => this.Fields[(int)index]; | ||
52 | |||
53 | public string ApplicationRef | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusAssemblySymbolFields.ApplicationRef].AsString(); | ||
56 | set => this.Set((int)ComPlusAssemblySymbolFields.ApplicationRef, value); | ||
57 | } | ||
58 | |||
59 | public string ComponentRef | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusAssemblySymbolFields.ComponentRef].AsString(); | ||
62 | set => this.Set((int)ComPlusAssemblySymbolFields.ComponentRef, value); | ||
63 | } | ||
64 | |||
65 | public string AssemblyName | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusAssemblySymbolFields.AssemblyName].AsString(); | ||
68 | set => this.Set((int)ComPlusAssemblySymbolFields.AssemblyName, value); | ||
69 | } | ||
70 | |||
71 | public string DllPath | ||
72 | { | ||
73 | get => this.Fields[(int)ComPlusAssemblySymbolFields.DllPath].AsString(); | ||
74 | set => this.Set((int)ComPlusAssemblySymbolFields.DllPath, value); | ||
75 | } | ||
76 | |||
77 | public string TlbPath | ||
78 | { | ||
79 | get => this.Fields[(int)ComPlusAssemblySymbolFields.TlbPath].AsString(); | ||
80 | set => this.Set((int)ComPlusAssemblySymbolFields.TlbPath, value); | ||
81 | } | ||
82 | |||
83 | public string PSDllPath | ||
84 | { | ||
85 | get => this.Fields[(int)ComPlusAssemblySymbolFields.PSDllPath].AsString(); | ||
86 | set => this.Set((int)ComPlusAssemblySymbolFields.PSDllPath, value); | ||
87 | } | ||
88 | |||
89 | public int Attributes | ||
90 | { | ||
91 | get => this.Fields[(int)ComPlusAssemblySymbolFields.Attributes].AsNumber(); | ||
92 | set => this.Set((int)ComPlusAssemblySymbolFields.Attributes, value); | ||
93 | } | ||
94 | } | ||
95 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusComponentPropertySymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusComponentPropertySymbol.cs new file mode 100644 index 00000000..b1d85b60 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusComponentPropertySymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusComponentProperty = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusComponentProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusComponentPropertySymbolFields.ComPlusComponentRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusComponentPropertySymbolFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusComponentPropertySymbolFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusComponentPropertySymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusComponentPropertySymbolFields | ||
27 | { | ||
28 | ComPlusComponentRef, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusComponentPropertySymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusComponentPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusComponentProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusComponentPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusComponentProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusComponentPropertySymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ComPlusComponentRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusComponentPropertySymbolFields.ComPlusComponentRef].AsString(); | ||
48 | set => this.Set((int)ComPlusComponentPropertySymbolFields.ComPlusComponentRef, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusComponentPropertySymbolFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusComponentPropertySymbolFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusComponentPropertySymbolFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusComponentPropertySymbolFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusComponentSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusComponentSymbol.cs new file mode 100644 index 00000000..020b754c --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusComponentSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusComponent = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusComponent.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusComponentSymbolFields.AssemblyRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusComponentSymbolFields.CLSID), IntermediateFieldType.String), | ||
16 | }, | ||
17 | typeof(ComPlusComponentSymbol)); | ||
18 | } | ||
19 | } | ||
20 | |||
21 | namespace WixToolset.ComPlus.Symbols | ||
22 | { | ||
23 | using WixToolset.Data; | ||
24 | |||
25 | public enum ComPlusComponentSymbolFields | ||
26 | { | ||
27 | AssemblyRef, | ||
28 | CLSID, | ||
29 | } | ||
30 | |||
31 | public class ComPlusComponentSymbol : IntermediateSymbol | ||
32 | { | ||
33 | public ComPlusComponentSymbol() : base(ComPlusSymbolDefinitions.ComPlusComponent, null, null) | ||
34 | { | ||
35 | } | ||
36 | |||
37 | public ComPlusComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusComponent, sourceLineNumber, id) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public IntermediateField this[ComPlusComponentSymbolFields index] => this.Fields[(int)index]; | ||
42 | |||
43 | public string AssemblyRef | ||
44 | { | ||
45 | get => this.Fields[(int)ComPlusComponentSymbolFields.AssemblyRef].AsString(); | ||
46 | set => this.Set((int)ComPlusComponentSymbolFields.AssemblyRef, value); | ||
47 | } | ||
48 | |||
49 | public string CLSID | ||
50 | { | ||
51 | get => this.Fields[(int)ComPlusComponentSymbolFields.CLSID].AsString(); | ||
52 | set => this.Set((int)ComPlusComponentSymbolFields.CLSID, value); | ||
53 | } | ||
54 | } | ||
55 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusGroupInApplicationRoleSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusGroupInApplicationRoleSymbol.cs new file mode 100644 index 00000000..d6b91e99 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusGroupInApplicationRoleSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusGroupInApplicationRole = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusGroupInApplicationRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleSymbolFields.GroupRef), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusGroupInApplicationRoleSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusGroupInApplicationRoleSymbolFields | ||
27 | { | ||
28 | ApplicationRoleRef, | ||
29 | ComponentRef, | ||
30 | GroupRef, | ||
31 | } | ||
32 | |||
33 | public class ComPlusGroupInApplicationRoleSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusGroupInApplicationRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusGroupInApplicationRole, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusGroupInApplicationRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusGroupInApplicationRole, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusGroupInApplicationRoleSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ApplicationRoleRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusGroupInApplicationRoleSymbolFields.ApplicationRoleRef].AsString(); | ||
48 | set => this.Set((int)ComPlusGroupInApplicationRoleSymbolFields.ApplicationRoleRef, value); | ||
49 | } | ||
50 | |||
51 | public string ComponentRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusGroupInApplicationRoleSymbolFields.ComponentRef].AsString(); | ||
54 | set => this.Set((int)ComPlusGroupInApplicationRoleSymbolFields.ComponentRef, value); | ||
55 | } | ||
56 | |||
57 | public string GroupRef | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusGroupInApplicationRoleSymbolFields.GroupRef].AsString(); | ||
60 | set => this.Set((int)ComPlusGroupInApplicationRoleSymbolFields.GroupRef, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusGroupInPartitionRoleSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusGroupInPartitionRoleSymbol.cs new file mode 100644 index 00000000..da70de9f --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusGroupInPartitionRoleSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusGroupInPartitionRole = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusGroupInPartitionRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleSymbolFields.PartitionRoleRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleSymbolFields.GroupRef), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusGroupInPartitionRoleSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusGroupInPartitionRoleSymbolFields | ||
27 | { | ||
28 | PartitionRoleRef, | ||
29 | ComponentRef, | ||
30 | GroupRef, | ||
31 | } | ||
32 | |||
33 | public class ComPlusGroupInPartitionRoleSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusGroupInPartitionRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusGroupInPartitionRole, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusGroupInPartitionRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusGroupInPartitionRole, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusGroupInPartitionRoleSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string PartitionRoleRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusGroupInPartitionRoleSymbolFields.PartitionRoleRef].AsString(); | ||
48 | set => this.Set((int)ComPlusGroupInPartitionRoleSymbolFields.PartitionRoleRef, value); | ||
49 | } | ||
50 | |||
51 | public string ComponentRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusGroupInPartitionRoleSymbolFields.ComponentRef].AsString(); | ||
54 | set => this.Set((int)ComPlusGroupInPartitionRoleSymbolFields.ComponentRef, value); | ||
55 | } | ||
56 | |||
57 | public string GroupRef | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusGroupInPartitionRoleSymbolFields.GroupRef].AsString(); | ||
60 | set => this.Set((int)ComPlusGroupInPartitionRoleSymbolFields.GroupRef, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusInterfacePropertySymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusInterfacePropertySymbol.cs new file mode 100644 index 00000000..2ed4ce18 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusInterfacePropertySymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusInterfaceProperty = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusInterfaceProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertySymbolFields.InterfaceRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertySymbolFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertySymbolFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusInterfacePropertySymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusInterfacePropertySymbolFields | ||
27 | { | ||
28 | InterfaceRef, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusInterfacePropertySymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusInterfacePropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusInterfaceProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusInterfacePropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusInterfaceProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusInterfacePropertySymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string InterfaceRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusInterfacePropertySymbolFields.InterfaceRef].AsString(); | ||
48 | set => this.Set((int)ComPlusInterfacePropertySymbolFields.InterfaceRef, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusInterfacePropertySymbolFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusInterfacePropertySymbolFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusInterfacePropertySymbolFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusInterfacePropertySymbolFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusInterfaceSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusInterfaceSymbol.cs new file mode 100644 index 00000000..f875b424 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusInterfaceSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusInterface = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusInterface.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusInterfaceSymbolFields.ComPlusComponentRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusInterfaceSymbolFields.IID), IntermediateFieldType.String), | ||
16 | }, | ||
17 | typeof(ComPlusInterfaceSymbol)); | ||
18 | } | ||
19 | } | ||
20 | |||
21 | namespace WixToolset.ComPlus.Symbols | ||
22 | { | ||
23 | using WixToolset.Data; | ||
24 | |||
25 | public enum ComPlusInterfaceSymbolFields | ||
26 | { | ||
27 | ComPlusComponentRef, | ||
28 | IID, | ||
29 | } | ||
30 | |||
31 | public class ComPlusInterfaceSymbol : IntermediateSymbol | ||
32 | { | ||
33 | public ComPlusInterfaceSymbol() : base(ComPlusSymbolDefinitions.ComPlusInterface, null, null) | ||
34 | { | ||
35 | } | ||
36 | |||
37 | public ComPlusInterfaceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusInterface, sourceLineNumber, id) | ||
38 | { | ||
39 | } | ||
40 | |||
41 | public IntermediateField this[ComPlusInterfaceSymbolFields index] => this.Fields[(int)index]; | ||
42 | |||
43 | public string ComPlusComponentRef | ||
44 | { | ||
45 | get => this.Fields[(int)ComPlusInterfaceSymbolFields.ComPlusComponentRef].AsString(); | ||
46 | set => this.Set((int)ComPlusInterfaceSymbolFields.ComPlusComponentRef, value); | ||
47 | } | ||
48 | |||
49 | public string IID | ||
50 | { | ||
51 | get => this.Fields[(int)ComPlusInterfaceSymbolFields.IID].AsString(); | ||
52 | set => this.Set((int)ComPlusInterfaceSymbolFields.IID, value); | ||
53 | } | ||
54 | } | ||
55 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusMethodPropertySymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusMethodPropertySymbol.cs new file mode 100644 index 00000000..65b17ea4 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusMethodPropertySymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusMethodProperty = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusMethodProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusMethodPropertySymbolFields.MethodRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusMethodPropertySymbolFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusMethodPropertySymbolFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusMethodPropertySymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusMethodPropertySymbolFields | ||
27 | { | ||
28 | MethodRef, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusMethodPropertySymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusMethodPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusMethodProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusMethodPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusMethodProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusMethodPropertySymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string MethodRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusMethodPropertySymbolFields.MethodRef].AsString(); | ||
48 | set => this.Set((int)ComPlusMethodPropertySymbolFields.MethodRef, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusMethodPropertySymbolFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusMethodPropertySymbolFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusMethodPropertySymbolFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusMethodPropertySymbolFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusMethodSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusMethodSymbol.cs new file mode 100644 index 00000000..9959a56f --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusMethodSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusMethod = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusMethod.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.InterfaceRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.Index), IntermediateFieldType.Number), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.Name), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusMethodSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusMethodSymbolFields | ||
27 | { | ||
28 | InterfaceRef, | ||
29 | Index, | ||
30 | Name, | ||
31 | } | ||
32 | |||
33 | public class ComPlusMethodSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusMethodSymbol() : base(ComPlusSymbolDefinitions.ComPlusMethod, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusMethodSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusMethod, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusMethodSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string InterfaceRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusMethodSymbolFields.InterfaceRef].AsString(); | ||
48 | set => this.Set((int)ComPlusMethodSymbolFields.InterfaceRef, value); | ||
49 | } | ||
50 | |||
51 | public int? Index | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusMethodSymbolFields.Index].AsNullableNumber(); | ||
54 | set => this.Set((int)ComPlusMethodSymbolFields.Index, value); | ||
55 | } | ||
56 | |||
57 | public string Name | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusMethodSymbolFields.Name].AsString(); | ||
60 | set => this.Set((int)ComPlusMethodSymbolFields.Name, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionPropertySymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionPropertySymbol.cs new file mode 100644 index 00000000..e42feae2 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionPropertySymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusPartitionProperty = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusPartitionProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertySymbolFields.PartitionRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertySymbolFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertySymbolFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusPartitionPropertySymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusPartitionPropertySymbolFields | ||
27 | { | ||
28 | PartitionRef, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusPartitionPropertySymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusPartitionPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusPartitionProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusPartitionPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartitionProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusPartitionPropertySymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string PartitionRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusPartitionPropertySymbolFields.PartitionRef].AsString(); | ||
48 | set => this.Set((int)ComPlusPartitionPropertySymbolFields.PartitionRef, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusPartitionPropertySymbolFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusPartitionPropertySymbolFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusPartitionPropertySymbolFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusPartitionPropertySymbolFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionRoleSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionRoleSymbol.cs new file mode 100644 index 00000000..23293d93 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionRoleSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusPartitionRole = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusPartitionRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleSymbolFields.PartitionRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleSymbolFields.Name), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusPartitionRoleSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusPartitionRoleSymbolFields | ||
27 | { | ||
28 | PartitionRef, | ||
29 | ComponentRef, | ||
30 | Name, | ||
31 | } | ||
32 | |||
33 | public class ComPlusPartitionRoleSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusPartitionRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusPartitionRole, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusPartitionRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartitionRole, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusPartitionRoleSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string PartitionRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusPartitionRoleSymbolFields.PartitionRef].AsString(); | ||
48 | set => this.Set((int)ComPlusPartitionRoleSymbolFields.PartitionRef, value); | ||
49 | } | ||
50 | |||
51 | public string ComponentRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusPartitionRoleSymbolFields.ComponentRef].AsString(); | ||
54 | set => this.Set((int)ComPlusPartitionRoleSymbolFields.ComponentRef, value); | ||
55 | } | ||
56 | |||
57 | public string Name | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusPartitionRoleSymbolFields.Name].AsString(); | ||
60 | set => this.Set((int)ComPlusPartitionRoleSymbolFields.Name, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionSymbol.cs new file mode 100644 index 00000000..c60fca40 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusPartition = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusPartition.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusPartitionSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusPartitionSymbolFields.PartitionId), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusPartitionSymbolFields.Name), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusPartitionSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusPartitionSymbolFields | ||
27 | { | ||
28 | ComponentRef, | ||
29 | PartitionId, | ||
30 | Name, | ||
31 | } | ||
32 | |||
33 | public class ComPlusPartitionSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusPartitionSymbol() : base(ComPlusSymbolDefinitions.ComPlusPartition, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusPartitionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartition, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusPartitionSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ComponentRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusPartitionSymbolFields.ComponentRef].AsString(); | ||
48 | set => this.Set((int)ComPlusPartitionSymbolFields.ComponentRef, value); | ||
49 | } | ||
50 | |||
51 | public string PartitionId | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusPartitionSymbolFields.PartitionId].AsString(); | ||
54 | set => this.Set((int)ComPlusPartitionSymbolFields.PartitionId, value); | ||
55 | } | ||
56 | |||
57 | public string Name | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusPartitionSymbolFields.Name].AsString(); | ||
60 | set => this.Set((int)ComPlusPartitionSymbolFields.Name, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionUserSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionUserSymbol.cs new file mode 100644 index 00000000..c4d52f54 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusPartitionUserSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusPartitionUser = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusPartitionUser.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusPartitionUserSymbolFields.PartitionRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusPartitionUserSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusPartitionUserSymbolFields.UserRef), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusPartitionUserSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusPartitionUserSymbolFields | ||
27 | { | ||
28 | PartitionRef, | ||
29 | ComponentRef, | ||
30 | UserRef, | ||
31 | } | ||
32 | |||
33 | public class ComPlusPartitionUserSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusPartitionUserSymbol() : base(ComPlusSymbolDefinitions.ComPlusPartitionUser, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusPartitionUserSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartitionUser, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusPartitionUserSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string PartitionRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusPartitionUserSymbolFields.PartitionRef].AsString(); | ||
48 | set => this.Set((int)ComPlusPartitionUserSymbolFields.PartitionRef, value); | ||
49 | } | ||
50 | |||
51 | public string ComponentRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusPartitionUserSymbolFields.ComponentRef].AsString(); | ||
54 | set => this.Set((int)ComPlusPartitionUserSymbolFields.ComponentRef, value); | ||
55 | } | ||
56 | |||
57 | public string UserRef | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusPartitionUserSymbolFields.UserRef].AsString(); | ||
60 | set => this.Set((int)ComPlusPartitionUserSymbolFields.UserRef, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusRoleForComponentSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusRoleForComponentSymbol.cs new file mode 100644 index 00000000..2d9968ee --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusRoleForComponentSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusRoleForComponent = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusRoleForComponent.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentSymbolFields.ComPlusComponentRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusRoleForComponentSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusRoleForComponentSymbolFields | ||
27 | { | ||
28 | ComPlusComponentRef, | ||
29 | ApplicationRoleRef, | ||
30 | ComponentRef, | ||
31 | } | ||
32 | |||
33 | public class ComPlusRoleForComponentSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusRoleForComponentSymbol() : base(ComPlusSymbolDefinitions.ComPlusRoleForComponent, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusRoleForComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusRoleForComponent, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusRoleForComponentSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ComPlusComponentRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusRoleForComponentSymbolFields.ComPlusComponentRef].AsString(); | ||
48 | set => this.Set((int)ComPlusRoleForComponentSymbolFields.ComPlusComponentRef, value); | ||
49 | } | ||
50 | |||
51 | public string ApplicationRoleRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusRoleForComponentSymbolFields.ApplicationRoleRef].AsString(); | ||
54 | set => this.Set((int)ComPlusRoleForComponentSymbolFields.ApplicationRoleRef, value); | ||
55 | } | ||
56 | |||
57 | public string ComponentRef | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusRoleForComponentSymbolFields.ComponentRef].AsString(); | ||
60 | set => this.Set((int)ComPlusRoleForComponentSymbolFields.ComponentRef, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusRoleForInterfaceSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusRoleForInterfaceSymbol.cs new file mode 100644 index 00000000..b77bd215 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusRoleForInterfaceSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusRoleForInterface = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusRoleForInterface.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceSymbolFields.InterfaceRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusRoleForInterfaceSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusRoleForInterfaceSymbolFields | ||
27 | { | ||
28 | InterfaceRef, | ||
29 | ApplicationRoleRef, | ||
30 | ComponentRef, | ||
31 | } | ||
32 | |||
33 | public class ComPlusRoleForInterfaceSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusRoleForInterfaceSymbol() : base(ComPlusSymbolDefinitions.ComPlusRoleForInterface, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusRoleForInterfaceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusRoleForInterface, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusRoleForInterfaceSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string InterfaceRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusRoleForInterfaceSymbolFields.InterfaceRef].AsString(); | ||
48 | set => this.Set((int)ComPlusRoleForInterfaceSymbolFields.InterfaceRef, value); | ||
49 | } | ||
50 | |||
51 | public string ApplicationRoleRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusRoleForInterfaceSymbolFields.ApplicationRoleRef].AsString(); | ||
54 | set => this.Set((int)ComPlusRoleForInterfaceSymbolFields.ApplicationRoleRef, value); | ||
55 | } | ||
56 | |||
57 | public string ComponentRef | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusRoleForInterfaceSymbolFields.ComponentRef].AsString(); | ||
60 | set => this.Set((int)ComPlusRoleForInterfaceSymbolFields.ComponentRef, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusRoleForMethodSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusRoleForMethodSymbol.cs new file mode 100644 index 00000000..9ba9d03b --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusRoleForMethodSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusRoleForMethod = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusRoleForMethod.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodSymbolFields.MethodRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusRoleForMethodSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusRoleForMethodSymbolFields | ||
27 | { | ||
28 | MethodRef, | ||
29 | ApplicationRoleRef, | ||
30 | ComponentRef, | ||
31 | } | ||
32 | |||
33 | public class ComPlusRoleForMethodSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusRoleForMethodSymbol() : base(ComPlusSymbolDefinitions.ComPlusRoleForMethod, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusRoleForMethodSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusRoleForMethod, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusRoleForMethodSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string MethodRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusRoleForMethodSymbolFields.MethodRef].AsString(); | ||
48 | set => this.Set((int)ComPlusRoleForMethodSymbolFields.MethodRef, value); | ||
49 | } | ||
50 | |||
51 | public string ApplicationRoleRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusRoleForMethodSymbolFields.ApplicationRoleRef].AsString(); | ||
54 | set => this.Set((int)ComPlusRoleForMethodSymbolFields.ApplicationRoleRef, value); | ||
55 | } | ||
56 | |||
57 | public string ComponentRef | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusRoleForMethodSymbolFields.ComponentRef].AsString(); | ||
60 | set => this.Set((int)ComPlusRoleForMethodSymbolFields.ComponentRef, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusSubscriptionPropertySymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusSubscriptionPropertySymbol.cs new file mode 100644 index 00000000..af995c3d --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusSubscriptionPropertySymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusSubscriptionProperty = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusSubscriptionProperty.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertySymbolFields.SubscriptionRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertySymbolFields.Name), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertySymbolFields.Value), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusSubscriptionPropertySymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusSubscriptionPropertySymbolFields | ||
27 | { | ||
28 | SubscriptionRef, | ||
29 | Name, | ||
30 | Value, | ||
31 | } | ||
32 | |||
33 | public class ComPlusSubscriptionPropertySymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusSubscriptionPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusSubscriptionProperty, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusSubscriptionPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusSubscriptionProperty, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusSubscriptionPropertySymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string SubscriptionRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusSubscriptionPropertySymbolFields.SubscriptionRef].AsString(); | ||
48 | set => this.Set((int)ComPlusSubscriptionPropertySymbolFields.SubscriptionRef, value); | ||
49 | } | ||
50 | |||
51 | public string Name | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusSubscriptionPropertySymbolFields.Name].AsString(); | ||
54 | set => this.Set((int)ComPlusSubscriptionPropertySymbolFields.Name, value); | ||
55 | } | ||
56 | |||
57 | public string Value | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusSubscriptionPropertySymbolFields.Value].AsString(); | ||
60 | set => this.Set((int)ComPlusSubscriptionPropertySymbolFields.Value, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusSubscriptionSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusSubscriptionSymbol.cs new file mode 100644 index 00000000..24d3f92e --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusSubscriptionSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusSubscription = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusSubscription.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.Subscription), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.ComPlusComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.SubscriptionId), IntermediateFieldType.String), | ||
18 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.Name), IntermediateFieldType.String), | ||
19 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.EventCLSID), IntermediateFieldType.String), | ||
20 | new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.PublisherID), IntermediateFieldType.String), | ||
21 | }, | ||
22 | typeof(ComPlusSubscriptionSymbol)); | ||
23 | } | ||
24 | } | ||
25 | |||
26 | namespace WixToolset.ComPlus.Symbols | ||
27 | { | ||
28 | using WixToolset.Data; | ||
29 | |||
30 | public enum ComPlusSubscriptionSymbolFields | ||
31 | { | ||
32 | Subscription, | ||
33 | ComPlusComponentRef, | ||
34 | ComponentRef, | ||
35 | SubscriptionId, | ||
36 | Name, | ||
37 | EventCLSID, | ||
38 | PublisherID, | ||
39 | } | ||
40 | |||
41 | public class ComPlusSubscriptionSymbol : IntermediateSymbol | ||
42 | { | ||
43 | public ComPlusSubscriptionSymbol() : base(ComPlusSymbolDefinitions.ComPlusSubscription, null, null) | ||
44 | { | ||
45 | } | ||
46 | |||
47 | public ComPlusSubscriptionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusSubscription, sourceLineNumber, id) | ||
48 | { | ||
49 | } | ||
50 | |||
51 | public IntermediateField this[ComPlusSubscriptionSymbolFields index] => this.Fields[(int)index]; | ||
52 | |||
53 | public string Subscription | ||
54 | { | ||
55 | get => this.Fields[(int)ComPlusSubscriptionSymbolFields.Subscription].AsString(); | ||
56 | set => this.Set((int)ComPlusSubscriptionSymbolFields.Subscription, value); | ||
57 | } | ||
58 | |||
59 | public string ComPlusComponentRef | ||
60 | { | ||
61 | get => this.Fields[(int)ComPlusSubscriptionSymbolFields.ComPlusComponentRef].AsString(); | ||
62 | set => this.Set((int)ComPlusSubscriptionSymbolFields.ComPlusComponentRef, value); | ||
63 | } | ||
64 | |||
65 | public string ComponentRef | ||
66 | { | ||
67 | get => this.Fields[(int)ComPlusSubscriptionSymbolFields.ComponentRef].AsString(); | ||
68 | set => this.Set((int)ComPlusSubscriptionSymbolFields.ComponentRef, value); | ||
69 | } | ||
70 | |||
71 | public string SubscriptionId | ||
72 | { | ||
73 | get => this.Fields[(int)ComPlusSubscriptionSymbolFields.SubscriptionId].AsString(); | ||
74 | set => this.Set((int)ComPlusSubscriptionSymbolFields.SubscriptionId, value); | ||
75 | } | ||
76 | |||
77 | public string Name | ||
78 | { | ||
79 | get => this.Fields[(int)ComPlusSubscriptionSymbolFields.Name].AsString(); | ||
80 | set => this.Set((int)ComPlusSubscriptionSymbolFields.Name, value); | ||
81 | } | ||
82 | |||
83 | public string EventCLSID | ||
84 | { | ||
85 | get => this.Fields[(int)ComPlusSubscriptionSymbolFields.EventCLSID].AsString(); | ||
86 | set => this.Set((int)ComPlusSubscriptionSymbolFields.EventCLSID, value); | ||
87 | } | ||
88 | |||
89 | public string PublisherID | ||
90 | { | ||
91 | get => this.Fields[(int)ComPlusSubscriptionSymbolFields.PublisherID].AsString(); | ||
92 | set => this.Set((int)ComPlusSubscriptionSymbolFields.PublisherID, value); | ||
93 | } | ||
94 | } | ||
95 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusSymbolDefinitions.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusSymbolDefinitions.cs new file mode 100644 index 00000000..407b9c14 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusSymbolDefinitions.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 ComPlusSymbolDefinitionType | ||
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 ComPlusSymbolDefinitions | ||
38 | { | ||
39 | public static readonly Version Version = new Version("4.0.0"); | ||
40 | |||
41 | public static IntermediateSymbolDefinition ByName(string name) | ||
42 | { | ||
43 | if (!Enum.TryParse(name, out ComPlusSymbolDefinitionType type)) | ||
44 | { | ||
45 | return null; | ||
46 | } | ||
47 | |||
48 | return ByType(type); | ||
49 | } | ||
50 | |||
51 | public static IntermediateSymbolDefinition ByType(ComPlusSymbolDefinitionType type) | ||
52 | { | ||
53 | switch (type) | ||
54 | { | ||
55 | case ComPlusSymbolDefinitionType.ComPlusApplication: | ||
56 | return ComPlusSymbolDefinitions.ComPlusApplication; | ||
57 | |||
58 | case ComPlusSymbolDefinitionType.ComPlusApplicationProperty: | ||
59 | return ComPlusSymbolDefinitions.ComPlusApplicationProperty; | ||
60 | |||
61 | case ComPlusSymbolDefinitionType.ComPlusApplicationRole: | ||
62 | return ComPlusSymbolDefinitions.ComPlusApplicationRole; | ||
63 | |||
64 | case ComPlusSymbolDefinitionType.ComPlusApplicationRoleProperty: | ||
65 | return ComPlusSymbolDefinitions.ComPlusApplicationRoleProperty; | ||
66 | |||
67 | case ComPlusSymbolDefinitionType.ComPlusAssembly: | ||
68 | return ComPlusSymbolDefinitions.ComPlusAssembly; | ||
69 | |||
70 | case ComPlusSymbolDefinitionType.ComPlusAssemblyDependency: | ||
71 | return ComPlusSymbolDefinitions.ComPlusAssemblyDependency; | ||
72 | |||
73 | case ComPlusSymbolDefinitionType.ComPlusComponent: | ||
74 | return ComPlusSymbolDefinitions.ComPlusComponent; | ||
75 | |||
76 | case ComPlusSymbolDefinitionType.ComPlusComponentProperty: | ||
77 | return ComPlusSymbolDefinitions.ComPlusComponentProperty; | ||
78 | |||
79 | case ComPlusSymbolDefinitionType.ComPlusGroupInApplicationRole: | ||
80 | return ComPlusSymbolDefinitions.ComPlusGroupInApplicationRole; | ||
81 | |||
82 | case ComPlusSymbolDefinitionType.ComPlusGroupInPartitionRole: | ||
83 | return ComPlusSymbolDefinitions.ComPlusGroupInPartitionRole; | ||
84 | |||
85 | case ComPlusSymbolDefinitionType.ComPlusInterface: | ||
86 | return ComPlusSymbolDefinitions.ComPlusInterface; | ||
87 | |||
88 | case ComPlusSymbolDefinitionType.ComPlusInterfaceProperty: | ||
89 | return ComPlusSymbolDefinitions.ComPlusInterfaceProperty; | ||
90 | |||
91 | case ComPlusSymbolDefinitionType.ComPlusMethod: | ||
92 | return ComPlusSymbolDefinitions.ComPlusMethod; | ||
93 | |||
94 | case ComPlusSymbolDefinitionType.ComPlusMethodProperty: | ||
95 | return ComPlusSymbolDefinitions.ComPlusMethodProperty; | ||
96 | |||
97 | case ComPlusSymbolDefinitionType.ComPlusPartition: | ||
98 | return ComPlusSymbolDefinitions.ComPlusPartition; | ||
99 | |||
100 | case ComPlusSymbolDefinitionType.ComPlusPartitionProperty: | ||
101 | return ComPlusSymbolDefinitions.ComPlusPartitionProperty; | ||
102 | |||
103 | case ComPlusSymbolDefinitionType.ComPlusPartitionRole: | ||
104 | return ComPlusSymbolDefinitions.ComPlusPartitionRole; | ||
105 | |||
106 | case ComPlusSymbolDefinitionType.ComPlusPartitionUser: | ||
107 | return ComPlusSymbolDefinitions.ComPlusPartitionUser; | ||
108 | |||
109 | case ComPlusSymbolDefinitionType.ComPlusRoleForComponent: | ||
110 | return ComPlusSymbolDefinitions.ComPlusRoleForComponent; | ||
111 | |||
112 | case ComPlusSymbolDefinitionType.ComPlusRoleForInterface: | ||
113 | return ComPlusSymbolDefinitions.ComPlusRoleForInterface; | ||
114 | |||
115 | case ComPlusSymbolDefinitionType.ComPlusRoleForMethod: | ||
116 | return ComPlusSymbolDefinitions.ComPlusRoleForMethod; | ||
117 | |||
118 | case ComPlusSymbolDefinitionType.ComPlusSubscription: | ||
119 | return ComPlusSymbolDefinitions.ComPlusSubscription; | ||
120 | |||
121 | case ComPlusSymbolDefinitionType.ComPlusSubscriptionProperty: | ||
122 | return ComPlusSymbolDefinitions.ComPlusSubscriptionProperty; | ||
123 | |||
124 | case ComPlusSymbolDefinitionType.ComPlusUserInApplicationRole: | ||
125 | return ComPlusSymbolDefinitions.ComPlusUserInApplicationRole; | ||
126 | |||
127 | case ComPlusSymbolDefinitionType.ComPlusUserInPartitionRole: | ||
128 | return ComPlusSymbolDefinitions.ComPlusUserInPartitionRole; | ||
129 | |||
130 | default: | ||
131 | throw new ArgumentOutOfRangeException(nameof(type)); | ||
132 | } | ||
133 | } | ||
134 | } | ||
135 | } | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusUserInApplicationRoleSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusUserInApplicationRoleSymbol.cs new file mode 100644 index 00000000..1f2e01b2 --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusUserInApplicationRoleSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusUserInApplicationRole = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusUserInApplicationRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleSymbolFields.UserRef), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusUserInApplicationRoleSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusUserInApplicationRoleSymbolFields | ||
27 | { | ||
28 | ApplicationRoleRef, | ||
29 | ComponentRef, | ||
30 | UserRef, | ||
31 | } | ||
32 | |||
33 | public class ComPlusUserInApplicationRoleSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusUserInApplicationRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusUserInApplicationRole, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusUserInApplicationRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusUserInApplicationRole, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusUserInApplicationRoleSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string ApplicationRoleRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusUserInApplicationRoleSymbolFields.ApplicationRoleRef].AsString(); | ||
48 | set => this.Set((int)ComPlusUserInApplicationRoleSymbolFields.ApplicationRoleRef, value); | ||
49 | } | ||
50 | |||
51 | public string ComponentRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusUserInApplicationRoleSymbolFields.ComponentRef].AsString(); | ||
54 | set => this.Set((int)ComPlusUserInApplicationRoleSymbolFields.ComponentRef, value); | ||
55 | } | ||
56 | |||
57 | public string UserRef | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusUserInApplicationRoleSymbolFields.UserRef].AsString(); | ||
60 | set => this.Set((int)ComPlusUserInApplicationRoleSymbolFields.UserRef, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||
diff --git a/src/ext/ComPlus/wixext/Symbols/ComPlusUserInPartitionRoleSymbol.cs b/src/ext/ComPlus/wixext/Symbols/ComPlusUserInPartitionRoleSymbol.cs new file mode 100644 index 00000000..10df94bf --- /dev/null +++ b/src/ext/ComPlus/wixext/Symbols/ComPlusUserInPartitionRoleSymbol.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.Symbols; | ||
7 | |||
8 | public static partial class ComPlusSymbolDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateSymbolDefinition ComPlusUserInPartitionRole = new IntermediateSymbolDefinition( | ||
11 | ComPlusSymbolDefinitionType.ComPlusUserInPartitionRole.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleSymbolFields.PartitionRoleRef), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleSymbolFields.ComponentRef), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleSymbolFields.UserRef), IntermediateFieldType.String), | ||
17 | }, | ||
18 | typeof(ComPlusUserInPartitionRoleSymbol)); | ||
19 | } | ||
20 | } | ||
21 | |||
22 | namespace WixToolset.ComPlus.Symbols | ||
23 | { | ||
24 | using WixToolset.Data; | ||
25 | |||
26 | public enum ComPlusUserInPartitionRoleSymbolFields | ||
27 | { | ||
28 | PartitionRoleRef, | ||
29 | ComponentRef, | ||
30 | UserRef, | ||
31 | } | ||
32 | |||
33 | public class ComPlusUserInPartitionRoleSymbol : IntermediateSymbol | ||
34 | { | ||
35 | public ComPlusUserInPartitionRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusUserInPartitionRole, null, null) | ||
36 | { | ||
37 | } | ||
38 | |||
39 | public ComPlusUserInPartitionRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusUserInPartitionRole, sourceLineNumber, id) | ||
40 | { | ||
41 | } | ||
42 | |||
43 | public IntermediateField this[ComPlusUserInPartitionRoleSymbolFields index] => this.Fields[(int)index]; | ||
44 | |||
45 | public string PartitionRoleRef | ||
46 | { | ||
47 | get => this.Fields[(int)ComPlusUserInPartitionRoleSymbolFields.PartitionRoleRef].AsString(); | ||
48 | set => this.Set((int)ComPlusUserInPartitionRoleSymbolFields.PartitionRoleRef, value); | ||
49 | } | ||
50 | |||
51 | public string ComponentRef | ||
52 | { | ||
53 | get => this.Fields[(int)ComPlusUserInPartitionRoleSymbolFields.ComponentRef].AsString(); | ||
54 | set => this.Set((int)ComPlusUserInPartitionRoleSymbolFields.ComponentRef, value); | ||
55 | } | ||
56 | |||
57 | public string UserRef | ||
58 | { | ||
59 | get => this.Fields[(int)ComPlusUserInPartitionRoleSymbolFields.UserRef].AsString(); | ||
60 | set => this.Set((int)ComPlusUserInPartitionRoleSymbolFields.UserRef, value); | ||
61 | } | ||
62 | } | ||
63 | } \ No newline at end of file | ||