From ff60a4ab12880ef746af3903d2edf714bad7ee42 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 27 Jun 2020 02:38:32 -0700 Subject: The Great Tuple to Symbol File Rename (tm) --- .../Symbols/ComPlusApplicationPropertySymbol.cs | 63 ++++++++++ .../ComPlusApplicationRolePropertySymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusApplicationRoleSymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusApplicationSymbol.cs | 71 +++++++++++ .../Symbols/ComPlusAssemblyDependencySymbol.cs | 55 +++++++++ src/wixext/Symbols/ComPlusAssemblySymbol.cs | 95 +++++++++++++++ .../Symbols/ComPlusComponentPropertySymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusComponentSymbol.cs | 55 +++++++++ .../Symbols/ComPlusGroupInApplicationRoleSymbol.cs | 63 ++++++++++ .../Symbols/ComPlusGroupInPartitionRoleSymbol.cs | 63 ++++++++++ .../Symbols/ComPlusInterfacePropertySymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusInterfaceSymbol.cs | 55 +++++++++ src/wixext/Symbols/ComPlusMethodPropertySymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusMethodSymbol.cs | 63 ++++++++++ .../Symbols/ComPlusPartitionPropertySymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusPartitionRoleSymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusPartitionSymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusPartitionUserSymbol.cs | 63 ++++++++++ .../Symbols/ComPlusRoleForComponentSymbol.cs | 63 ++++++++++ .../Symbols/ComPlusRoleForInterfaceSymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusRoleForMethodSymbol.cs | 63 ++++++++++ .../Symbols/ComPlusSubscriptionPropertySymbol.cs | 63 ++++++++++ src/wixext/Symbols/ComPlusSubscriptionSymbol.cs | 95 +++++++++++++++ src/wixext/Symbols/ComPlusSymbolDefinitions.cs | 135 +++++++++++++++++++++ .../Symbols/ComPlusUserInApplicationRoleSymbol.cs | 63 ++++++++++ .../Symbols/ComPlusUserInPartitionRoleSymbol.cs | 63 ++++++++++ .../Tuples/ComPlusApplicationPropertyTuple.cs | 63 ---------- .../Tuples/ComPlusApplicationRolePropertyTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusApplicationRoleTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusApplicationTuple.cs | 71 ----------- .../Tuples/ComPlusAssemblyDependencyTuple.cs | 55 --------- src/wixext/Tuples/ComPlusAssemblyTuple.cs | 95 --------------- src/wixext/Tuples/ComPlusComponentPropertyTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusComponentTuple.cs | 55 --------- .../Tuples/ComPlusGroupInApplicationRoleTuple.cs | 63 ---------- .../Tuples/ComPlusGroupInPartitionRoleTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusInterfacePropertyTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusInterfaceTuple.cs | 55 --------- src/wixext/Tuples/ComPlusMethodPropertyTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusMethodTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusPartitionPropertyTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusPartitionRoleTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusPartitionTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusPartitionUserTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusRoleForComponentTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusRoleForInterfaceTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusRoleForMethodTuple.cs | 63 ---------- .../Tuples/ComPlusSubscriptionPropertyTuple.cs | 63 ---------- src/wixext/Tuples/ComPlusSubscriptionTuple.cs | 95 --------------- src/wixext/Tuples/ComPlusTupleDefinitions.cs | 135 --------------------- .../Tuples/ComPlusUserInApplicationRoleTuple.cs | 63 ---------- .../Tuples/ComPlusUserInPartitionRoleTuple.cs | 63 ---------- 52 files changed, 1758 insertions(+), 1758 deletions(-) create mode 100644 src/wixext/Symbols/ComPlusApplicationPropertySymbol.cs create mode 100644 src/wixext/Symbols/ComPlusApplicationRolePropertySymbol.cs create mode 100644 src/wixext/Symbols/ComPlusApplicationRoleSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusApplicationSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusAssemblyDependencySymbol.cs create mode 100644 src/wixext/Symbols/ComPlusAssemblySymbol.cs create mode 100644 src/wixext/Symbols/ComPlusComponentPropertySymbol.cs create mode 100644 src/wixext/Symbols/ComPlusComponentSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusGroupInApplicationRoleSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusGroupInPartitionRoleSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusInterfacePropertySymbol.cs create mode 100644 src/wixext/Symbols/ComPlusInterfaceSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusMethodPropertySymbol.cs create mode 100644 src/wixext/Symbols/ComPlusMethodSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusPartitionPropertySymbol.cs create mode 100644 src/wixext/Symbols/ComPlusPartitionRoleSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusPartitionSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusPartitionUserSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusRoleForComponentSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusRoleForInterfaceSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusRoleForMethodSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusSubscriptionPropertySymbol.cs create mode 100644 src/wixext/Symbols/ComPlusSubscriptionSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusSymbolDefinitions.cs create mode 100644 src/wixext/Symbols/ComPlusUserInApplicationRoleSymbol.cs create mode 100644 src/wixext/Symbols/ComPlusUserInPartitionRoleSymbol.cs delete mode 100644 src/wixext/Tuples/ComPlusApplicationPropertyTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusApplicationRolePropertyTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusApplicationRoleTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusApplicationTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusAssemblyDependencyTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusAssemblyTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusComponentPropertyTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusComponentTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusGroupInApplicationRoleTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusGroupInPartitionRoleTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusInterfacePropertyTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusInterfaceTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusMethodPropertyTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusMethodTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusPartitionPropertyTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusPartitionRoleTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusPartitionTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusPartitionUserTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusRoleForComponentTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusRoleForInterfaceTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusRoleForMethodTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusSubscriptionPropertyTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusSubscriptionTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusTupleDefinitions.cs delete mode 100644 src/wixext/Tuples/ComPlusUserInApplicationRoleTuple.cs delete mode 100644 src/wixext/Tuples/ComPlusUserInPartitionRoleTuple.cs (limited to 'src') diff --git a/src/wixext/Symbols/ComPlusApplicationPropertySymbol.cs b/src/wixext/Symbols/ComPlusApplicationPropertySymbol.cs new file mode 100644 index 00000000..6d1e2d28 --- /dev/null +++ b/src/wixext/Symbols/ComPlusApplicationPropertySymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusApplicationProperty = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusApplicationProperty.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertySymbolFields.ApplicationRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertySymbolFields.Name), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertySymbolFields.Value), IntermediateFieldType.String), + }, + typeof(ComPlusApplicationPropertySymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusApplicationPropertySymbolFields + { + ApplicationRef, + Name, + Value, + } + + public class ComPlusApplicationPropertySymbol : IntermediateSymbol + { + public ComPlusApplicationPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusApplicationProperty, null, null) + { + } + + public ComPlusApplicationPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplicationProperty, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusApplicationPropertySymbolFields index] => this.Fields[(int)index]; + + public string ApplicationRef + { + get => this.Fields[(int)ComPlusApplicationPropertySymbolFields.ApplicationRef].AsString(); + set => this.Set((int)ComPlusApplicationPropertySymbolFields.ApplicationRef, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusApplicationPropertySymbolFields.Name].AsString(); + set => this.Set((int)ComPlusApplicationPropertySymbolFields.Name, value); + } + + public string Value + { + get => this.Fields[(int)ComPlusApplicationPropertySymbolFields.Value].AsString(); + set => this.Set((int)ComPlusApplicationPropertySymbolFields.Value, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusApplicationRolePropertySymbol.cs b/src/wixext/Symbols/ComPlusApplicationRolePropertySymbol.cs new file mode 100644 index 00000000..3b957899 --- /dev/null +++ b/src/wixext/Symbols/ComPlusApplicationRolePropertySymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusApplicationRoleProperty = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusApplicationRoleProperty.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertySymbolFields.ApplicationRoleRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertySymbolFields.Name), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertySymbolFields.Value), IntermediateFieldType.String), + }, + typeof(ComPlusApplicationRolePropertySymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusApplicationRolePropertySymbolFields + { + ApplicationRoleRef, + Name, + Value, + } + + public class ComPlusApplicationRolePropertySymbol : IntermediateSymbol + { + public ComPlusApplicationRolePropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusApplicationRoleProperty, null, null) + { + } + + public ComPlusApplicationRolePropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplicationRoleProperty, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusApplicationRolePropertySymbolFields index] => this.Fields[(int)index]; + + public string ApplicationRoleRef + { + get => this.Fields[(int)ComPlusApplicationRolePropertySymbolFields.ApplicationRoleRef].AsString(); + set => this.Set((int)ComPlusApplicationRolePropertySymbolFields.ApplicationRoleRef, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusApplicationRolePropertySymbolFields.Name].AsString(); + set => this.Set((int)ComPlusApplicationRolePropertySymbolFields.Name, value); + } + + public string Value + { + get => this.Fields[(int)ComPlusApplicationRolePropertySymbolFields.Value].AsString(); + set => this.Set((int)ComPlusApplicationRolePropertySymbolFields.Value, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusApplicationRoleSymbol.cs b/src/wixext/Symbols/ComPlusApplicationRoleSymbol.cs new file mode 100644 index 00000000..84028ee3 --- /dev/null +++ b/src/wixext/Symbols/ComPlusApplicationRoleSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusApplicationRole = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusApplicationRole.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleSymbolFields.ApplicationRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleSymbolFields.Name), IntermediateFieldType.String), + }, + typeof(ComPlusApplicationRoleSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusApplicationRoleSymbolFields + { + ApplicationRef, + ComponentRef, + Name, + } + + public class ComPlusApplicationRoleSymbol : IntermediateSymbol + { + public ComPlusApplicationRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusApplicationRole, null, null) + { + } + + public ComPlusApplicationRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplicationRole, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusApplicationRoleSymbolFields index] => this.Fields[(int)index]; + + public string ApplicationRef + { + get => this.Fields[(int)ComPlusApplicationRoleSymbolFields.ApplicationRef].AsString(); + set => this.Set((int)ComPlusApplicationRoleSymbolFields.ApplicationRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusApplicationRoleSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusApplicationRoleSymbolFields.ComponentRef, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusApplicationRoleSymbolFields.Name].AsString(); + set => this.Set((int)ComPlusApplicationRoleSymbolFields.Name, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusApplicationSymbol.cs b/src/wixext/Symbols/ComPlusApplicationSymbol.cs new file mode 100644 index 00000000..ce541e43 --- /dev/null +++ b/src/wixext/Symbols/ComPlusApplicationSymbol.cs @@ -0,0 +1,71 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusApplication = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusApplication.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.PartitionRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.ApplicationId), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.Name), IntermediateFieldType.String), + }, + typeof(ComPlusApplicationSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusApplicationSymbolFields + { + PartitionRef, + ComponentRef, + ApplicationId, + Name, + } + + public class ComPlusApplicationSymbol : IntermediateSymbol + { + public ComPlusApplicationSymbol() : base(ComPlusSymbolDefinitions.ComPlusApplication, null, null) + { + } + + public ComPlusApplicationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplication, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusApplicationSymbolFields index] => this.Fields[(int)index]; + + public string PartitionRef + { + get => this.Fields[(int)ComPlusApplicationSymbolFields.PartitionRef].AsString(); + set => this.Set((int)ComPlusApplicationSymbolFields.PartitionRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusApplicationSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusApplicationSymbolFields.ComponentRef, value); + } + + public string ApplicationId + { + get => this.Fields[(int)ComPlusApplicationSymbolFields.ApplicationId].AsString(); + set => this.Set((int)ComPlusApplicationSymbolFields.ApplicationId, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusApplicationSymbolFields.Name].AsString(); + set => this.Set((int)ComPlusApplicationSymbolFields.Name, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusAssemblyDependencySymbol.cs b/src/wixext/Symbols/ComPlusAssemblyDependencySymbol.cs new file mode 100644 index 00000000..549d53e4 --- /dev/null +++ b/src/wixext/Symbols/ComPlusAssemblyDependencySymbol.cs @@ -0,0 +1,55 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusAssemblyDependency = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusAssemblyDependency.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusAssemblyDependencySymbolFields.AssemblyRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusAssemblyDependencySymbolFields.RequiredAssemblyRef), IntermediateFieldType.String), + }, + typeof(ComPlusAssemblyDependencySymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusAssemblyDependencySymbolFields + { + AssemblyRef, + RequiredAssemblyRef, + } + + public class ComPlusAssemblyDependencySymbol : IntermediateSymbol + { + public ComPlusAssemblyDependencySymbol() : base(ComPlusSymbolDefinitions.ComPlusAssemblyDependency, null, null) + { + } + + public ComPlusAssemblyDependencySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusAssemblyDependency, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusAssemblyDependencySymbolFields index] => this.Fields[(int)index]; + + public string AssemblyRef + { + get => this.Fields[(int)ComPlusAssemblyDependencySymbolFields.AssemblyRef].AsString(); + set => this.Set((int)ComPlusAssemblyDependencySymbolFields.AssemblyRef, value); + } + + public string RequiredAssemblyRef + { + get => this.Fields[(int)ComPlusAssemblyDependencySymbolFields.RequiredAssemblyRef].AsString(); + set => this.Set((int)ComPlusAssemblyDependencySymbolFields.RequiredAssemblyRef, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusAssemblySymbol.cs b/src/wixext/Symbols/ComPlusAssemblySymbol.cs new file mode 100644 index 00000000..1329df30 --- /dev/null +++ b/src/wixext/Symbols/ComPlusAssemblySymbol.cs @@ -0,0 +1,95 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusAssembly = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusAssembly.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.ApplicationRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.AssemblyName), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.DllPath), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.TlbPath), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.PSDllPath), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.Attributes), IntermediateFieldType.Number), + }, + typeof(ComPlusAssemblySymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusAssemblySymbolFields + { + ApplicationRef, + ComponentRef, + AssemblyName, + DllPath, + TlbPath, + PSDllPath, + Attributes, + } + + public class ComPlusAssemblySymbol : IntermediateSymbol + { + public ComPlusAssemblySymbol() : base(ComPlusSymbolDefinitions.ComPlusAssembly, null, null) + { + } + + public ComPlusAssemblySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusAssembly, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusAssemblySymbolFields index] => this.Fields[(int)index]; + + public string ApplicationRef + { + get => this.Fields[(int)ComPlusAssemblySymbolFields.ApplicationRef].AsString(); + set => this.Set((int)ComPlusAssemblySymbolFields.ApplicationRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusAssemblySymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusAssemblySymbolFields.ComponentRef, value); + } + + public string AssemblyName + { + get => this.Fields[(int)ComPlusAssemblySymbolFields.AssemblyName].AsString(); + set => this.Set((int)ComPlusAssemblySymbolFields.AssemblyName, value); + } + + public string DllPath + { + get => this.Fields[(int)ComPlusAssemblySymbolFields.DllPath].AsString(); + set => this.Set((int)ComPlusAssemblySymbolFields.DllPath, value); + } + + public string TlbPath + { + get => this.Fields[(int)ComPlusAssemblySymbolFields.TlbPath].AsString(); + set => this.Set((int)ComPlusAssemblySymbolFields.TlbPath, value); + } + + public string PSDllPath + { + get => this.Fields[(int)ComPlusAssemblySymbolFields.PSDllPath].AsString(); + set => this.Set((int)ComPlusAssemblySymbolFields.PSDllPath, value); + } + + public int Attributes + { + get => this.Fields[(int)ComPlusAssemblySymbolFields.Attributes].AsNumber(); + set => this.Set((int)ComPlusAssemblySymbolFields.Attributes, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusComponentPropertySymbol.cs b/src/wixext/Symbols/ComPlusComponentPropertySymbol.cs new file mode 100644 index 00000000..b1d85b60 --- /dev/null +++ b/src/wixext/Symbols/ComPlusComponentPropertySymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusComponentProperty = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusComponentProperty.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusComponentPropertySymbolFields.ComPlusComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusComponentPropertySymbolFields.Name), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusComponentPropertySymbolFields.Value), IntermediateFieldType.String), + }, + typeof(ComPlusComponentPropertySymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusComponentPropertySymbolFields + { + ComPlusComponentRef, + Name, + Value, + } + + public class ComPlusComponentPropertySymbol : IntermediateSymbol + { + public ComPlusComponentPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusComponentProperty, null, null) + { + } + + public ComPlusComponentPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusComponentProperty, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusComponentPropertySymbolFields index] => this.Fields[(int)index]; + + public string ComPlusComponentRef + { + get => this.Fields[(int)ComPlusComponentPropertySymbolFields.ComPlusComponentRef].AsString(); + set => this.Set((int)ComPlusComponentPropertySymbolFields.ComPlusComponentRef, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusComponentPropertySymbolFields.Name].AsString(); + set => this.Set((int)ComPlusComponentPropertySymbolFields.Name, value); + } + + public string Value + { + get => this.Fields[(int)ComPlusComponentPropertySymbolFields.Value].AsString(); + set => this.Set((int)ComPlusComponentPropertySymbolFields.Value, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusComponentSymbol.cs b/src/wixext/Symbols/ComPlusComponentSymbol.cs new file mode 100644 index 00000000..020b754c --- /dev/null +++ b/src/wixext/Symbols/ComPlusComponentSymbol.cs @@ -0,0 +1,55 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusComponent = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusComponent.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusComponentSymbolFields.AssemblyRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusComponentSymbolFields.CLSID), IntermediateFieldType.String), + }, + typeof(ComPlusComponentSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusComponentSymbolFields + { + AssemblyRef, + CLSID, + } + + public class ComPlusComponentSymbol : IntermediateSymbol + { + public ComPlusComponentSymbol() : base(ComPlusSymbolDefinitions.ComPlusComponent, null, null) + { + } + + public ComPlusComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusComponent, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusComponentSymbolFields index] => this.Fields[(int)index]; + + public string AssemblyRef + { + get => this.Fields[(int)ComPlusComponentSymbolFields.AssemblyRef].AsString(); + set => this.Set((int)ComPlusComponentSymbolFields.AssemblyRef, value); + } + + public string CLSID + { + get => this.Fields[(int)ComPlusComponentSymbolFields.CLSID].AsString(); + set => this.Set((int)ComPlusComponentSymbolFields.CLSID, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusGroupInApplicationRoleSymbol.cs b/src/wixext/Symbols/ComPlusGroupInApplicationRoleSymbol.cs new file mode 100644 index 00000000..d6b91e99 --- /dev/null +++ b/src/wixext/Symbols/ComPlusGroupInApplicationRoleSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusGroupInApplicationRole = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusGroupInApplicationRole.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleSymbolFields.GroupRef), IntermediateFieldType.String), + }, + typeof(ComPlusGroupInApplicationRoleSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusGroupInApplicationRoleSymbolFields + { + ApplicationRoleRef, + ComponentRef, + GroupRef, + } + + public class ComPlusGroupInApplicationRoleSymbol : IntermediateSymbol + { + public ComPlusGroupInApplicationRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusGroupInApplicationRole, null, null) + { + } + + public ComPlusGroupInApplicationRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusGroupInApplicationRole, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusGroupInApplicationRoleSymbolFields index] => this.Fields[(int)index]; + + public string ApplicationRoleRef + { + get => this.Fields[(int)ComPlusGroupInApplicationRoleSymbolFields.ApplicationRoleRef].AsString(); + set => this.Set((int)ComPlusGroupInApplicationRoleSymbolFields.ApplicationRoleRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusGroupInApplicationRoleSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusGroupInApplicationRoleSymbolFields.ComponentRef, value); + } + + public string GroupRef + { + get => this.Fields[(int)ComPlusGroupInApplicationRoleSymbolFields.GroupRef].AsString(); + set => this.Set((int)ComPlusGroupInApplicationRoleSymbolFields.GroupRef, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusGroupInPartitionRoleSymbol.cs b/src/wixext/Symbols/ComPlusGroupInPartitionRoleSymbol.cs new file mode 100644 index 00000000..da70de9f --- /dev/null +++ b/src/wixext/Symbols/ComPlusGroupInPartitionRoleSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusGroupInPartitionRole = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusGroupInPartitionRole.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleSymbolFields.PartitionRoleRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleSymbolFields.GroupRef), IntermediateFieldType.String), + }, + typeof(ComPlusGroupInPartitionRoleSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusGroupInPartitionRoleSymbolFields + { + PartitionRoleRef, + ComponentRef, + GroupRef, + } + + public class ComPlusGroupInPartitionRoleSymbol : IntermediateSymbol + { + public ComPlusGroupInPartitionRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusGroupInPartitionRole, null, null) + { + } + + public ComPlusGroupInPartitionRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusGroupInPartitionRole, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusGroupInPartitionRoleSymbolFields index] => this.Fields[(int)index]; + + public string PartitionRoleRef + { + get => this.Fields[(int)ComPlusGroupInPartitionRoleSymbolFields.PartitionRoleRef].AsString(); + set => this.Set((int)ComPlusGroupInPartitionRoleSymbolFields.PartitionRoleRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusGroupInPartitionRoleSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusGroupInPartitionRoleSymbolFields.ComponentRef, value); + } + + public string GroupRef + { + get => this.Fields[(int)ComPlusGroupInPartitionRoleSymbolFields.GroupRef].AsString(); + set => this.Set((int)ComPlusGroupInPartitionRoleSymbolFields.GroupRef, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusInterfacePropertySymbol.cs b/src/wixext/Symbols/ComPlusInterfacePropertySymbol.cs new file mode 100644 index 00000000..2ed4ce18 --- /dev/null +++ b/src/wixext/Symbols/ComPlusInterfacePropertySymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusInterfaceProperty = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusInterfaceProperty.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertySymbolFields.InterfaceRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertySymbolFields.Name), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertySymbolFields.Value), IntermediateFieldType.String), + }, + typeof(ComPlusInterfacePropertySymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusInterfacePropertySymbolFields + { + InterfaceRef, + Name, + Value, + } + + public class ComPlusInterfacePropertySymbol : IntermediateSymbol + { + public ComPlusInterfacePropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusInterfaceProperty, null, null) + { + } + + public ComPlusInterfacePropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusInterfaceProperty, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusInterfacePropertySymbolFields index] => this.Fields[(int)index]; + + public string InterfaceRef + { + get => this.Fields[(int)ComPlusInterfacePropertySymbolFields.InterfaceRef].AsString(); + set => this.Set((int)ComPlusInterfacePropertySymbolFields.InterfaceRef, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusInterfacePropertySymbolFields.Name].AsString(); + set => this.Set((int)ComPlusInterfacePropertySymbolFields.Name, value); + } + + public string Value + { + get => this.Fields[(int)ComPlusInterfacePropertySymbolFields.Value].AsString(); + set => this.Set((int)ComPlusInterfacePropertySymbolFields.Value, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusInterfaceSymbol.cs b/src/wixext/Symbols/ComPlusInterfaceSymbol.cs new file mode 100644 index 00000000..f875b424 --- /dev/null +++ b/src/wixext/Symbols/ComPlusInterfaceSymbol.cs @@ -0,0 +1,55 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusInterface = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusInterface.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusInterfaceSymbolFields.ComPlusComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusInterfaceSymbolFields.IID), IntermediateFieldType.String), + }, + typeof(ComPlusInterfaceSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusInterfaceSymbolFields + { + ComPlusComponentRef, + IID, + } + + public class ComPlusInterfaceSymbol : IntermediateSymbol + { + public ComPlusInterfaceSymbol() : base(ComPlusSymbolDefinitions.ComPlusInterface, null, null) + { + } + + public ComPlusInterfaceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusInterface, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusInterfaceSymbolFields index] => this.Fields[(int)index]; + + public string ComPlusComponentRef + { + get => this.Fields[(int)ComPlusInterfaceSymbolFields.ComPlusComponentRef].AsString(); + set => this.Set((int)ComPlusInterfaceSymbolFields.ComPlusComponentRef, value); + } + + public string IID + { + get => this.Fields[(int)ComPlusInterfaceSymbolFields.IID].AsString(); + set => this.Set((int)ComPlusInterfaceSymbolFields.IID, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusMethodPropertySymbol.cs b/src/wixext/Symbols/ComPlusMethodPropertySymbol.cs new file mode 100644 index 00000000..65b17ea4 --- /dev/null +++ b/src/wixext/Symbols/ComPlusMethodPropertySymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusMethodProperty = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusMethodProperty.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusMethodPropertySymbolFields.MethodRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusMethodPropertySymbolFields.Name), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusMethodPropertySymbolFields.Value), IntermediateFieldType.String), + }, + typeof(ComPlusMethodPropertySymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusMethodPropertySymbolFields + { + MethodRef, + Name, + Value, + } + + public class ComPlusMethodPropertySymbol : IntermediateSymbol + { + public ComPlusMethodPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusMethodProperty, null, null) + { + } + + public ComPlusMethodPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusMethodProperty, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusMethodPropertySymbolFields index] => this.Fields[(int)index]; + + public string MethodRef + { + get => this.Fields[(int)ComPlusMethodPropertySymbolFields.MethodRef].AsString(); + set => this.Set((int)ComPlusMethodPropertySymbolFields.MethodRef, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusMethodPropertySymbolFields.Name].AsString(); + set => this.Set((int)ComPlusMethodPropertySymbolFields.Name, value); + } + + public string Value + { + get => this.Fields[(int)ComPlusMethodPropertySymbolFields.Value].AsString(); + set => this.Set((int)ComPlusMethodPropertySymbolFields.Value, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusMethodSymbol.cs b/src/wixext/Symbols/ComPlusMethodSymbol.cs new file mode 100644 index 00000000..9959a56f --- /dev/null +++ b/src/wixext/Symbols/ComPlusMethodSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusMethod = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusMethod.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.InterfaceRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.Index), IntermediateFieldType.Number), + new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.Name), IntermediateFieldType.String), + }, + typeof(ComPlusMethodSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusMethodSymbolFields + { + InterfaceRef, + Index, + Name, + } + + public class ComPlusMethodSymbol : IntermediateSymbol + { + public ComPlusMethodSymbol() : base(ComPlusSymbolDefinitions.ComPlusMethod, null, null) + { + } + + public ComPlusMethodSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusMethod, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusMethodSymbolFields index] => this.Fields[(int)index]; + + public string InterfaceRef + { + get => this.Fields[(int)ComPlusMethodSymbolFields.InterfaceRef].AsString(); + set => this.Set((int)ComPlusMethodSymbolFields.InterfaceRef, value); + } + + public int? Index + { + get => this.Fields[(int)ComPlusMethodSymbolFields.Index].AsNullableNumber(); + set => this.Set((int)ComPlusMethodSymbolFields.Index, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusMethodSymbolFields.Name].AsString(); + set => this.Set((int)ComPlusMethodSymbolFields.Name, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusPartitionPropertySymbol.cs b/src/wixext/Symbols/ComPlusPartitionPropertySymbol.cs new file mode 100644 index 00000000..e42feae2 --- /dev/null +++ b/src/wixext/Symbols/ComPlusPartitionPropertySymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusPartitionProperty = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusPartitionProperty.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertySymbolFields.PartitionRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertySymbolFields.Name), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertySymbolFields.Value), IntermediateFieldType.String), + }, + typeof(ComPlusPartitionPropertySymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusPartitionPropertySymbolFields + { + PartitionRef, + Name, + Value, + } + + public class ComPlusPartitionPropertySymbol : IntermediateSymbol + { + public ComPlusPartitionPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusPartitionProperty, null, null) + { + } + + public ComPlusPartitionPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartitionProperty, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusPartitionPropertySymbolFields index] => this.Fields[(int)index]; + + public string PartitionRef + { + get => this.Fields[(int)ComPlusPartitionPropertySymbolFields.PartitionRef].AsString(); + set => this.Set((int)ComPlusPartitionPropertySymbolFields.PartitionRef, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusPartitionPropertySymbolFields.Name].AsString(); + set => this.Set((int)ComPlusPartitionPropertySymbolFields.Name, value); + } + + public string Value + { + get => this.Fields[(int)ComPlusPartitionPropertySymbolFields.Value].AsString(); + set => this.Set((int)ComPlusPartitionPropertySymbolFields.Value, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusPartitionRoleSymbol.cs b/src/wixext/Symbols/ComPlusPartitionRoleSymbol.cs new file mode 100644 index 00000000..23293d93 --- /dev/null +++ b/src/wixext/Symbols/ComPlusPartitionRoleSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusPartitionRole = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusPartitionRole.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleSymbolFields.PartitionRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleSymbolFields.Name), IntermediateFieldType.String), + }, + typeof(ComPlusPartitionRoleSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusPartitionRoleSymbolFields + { + PartitionRef, + ComponentRef, + Name, + } + + public class ComPlusPartitionRoleSymbol : IntermediateSymbol + { + public ComPlusPartitionRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusPartitionRole, null, null) + { + } + + public ComPlusPartitionRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartitionRole, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusPartitionRoleSymbolFields index] => this.Fields[(int)index]; + + public string PartitionRef + { + get => this.Fields[(int)ComPlusPartitionRoleSymbolFields.PartitionRef].AsString(); + set => this.Set((int)ComPlusPartitionRoleSymbolFields.PartitionRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusPartitionRoleSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusPartitionRoleSymbolFields.ComponentRef, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusPartitionRoleSymbolFields.Name].AsString(); + set => this.Set((int)ComPlusPartitionRoleSymbolFields.Name, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusPartitionSymbol.cs b/src/wixext/Symbols/ComPlusPartitionSymbol.cs new file mode 100644 index 00000000..c60fca40 --- /dev/null +++ b/src/wixext/Symbols/ComPlusPartitionSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusPartition = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusPartition.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusPartitionSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusPartitionSymbolFields.PartitionId), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusPartitionSymbolFields.Name), IntermediateFieldType.String), + }, + typeof(ComPlusPartitionSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusPartitionSymbolFields + { + ComponentRef, + PartitionId, + Name, + } + + public class ComPlusPartitionSymbol : IntermediateSymbol + { + public ComPlusPartitionSymbol() : base(ComPlusSymbolDefinitions.ComPlusPartition, null, null) + { + } + + public ComPlusPartitionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartition, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusPartitionSymbolFields index] => this.Fields[(int)index]; + + public string ComponentRef + { + get => this.Fields[(int)ComPlusPartitionSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusPartitionSymbolFields.ComponentRef, value); + } + + public string PartitionId + { + get => this.Fields[(int)ComPlusPartitionSymbolFields.PartitionId].AsString(); + set => this.Set((int)ComPlusPartitionSymbolFields.PartitionId, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusPartitionSymbolFields.Name].AsString(); + set => this.Set((int)ComPlusPartitionSymbolFields.Name, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusPartitionUserSymbol.cs b/src/wixext/Symbols/ComPlusPartitionUserSymbol.cs new file mode 100644 index 00000000..c4d52f54 --- /dev/null +++ b/src/wixext/Symbols/ComPlusPartitionUserSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusPartitionUser = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusPartitionUser.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusPartitionUserSymbolFields.PartitionRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusPartitionUserSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusPartitionUserSymbolFields.UserRef), IntermediateFieldType.String), + }, + typeof(ComPlusPartitionUserSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusPartitionUserSymbolFields + { + PartitionRef, + ComponentRef, + UserRef, + } + + public class ComPlusPartitionUserSymbol : IntermediateSymbol + { + public ComPlusPartitionUserSymbol() : base(ComPlusSymbolDefinitions.ComPlusPartitionUser, null, null) + { + } + + public ComPlusPartitionUserSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartitionUser, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusPartitionUserSymbolFields index] => this.Fields[(int)index]; + + public string PartitionRef + { + get => this.Fields[(int)ComPlusPartitionUserSymbolFields.PartitionRef].AsString(); + set => this.Set((int)ComPlusPartitionUserSymbolFields.PartitionRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusPartitionUserSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusPartitionUserSymbolFields.ComponentRef, value); + } + + public string UserRef + { + get => this.Fields[(int)ComPlusPartitionUserSymbolFields.UserRef].AsString(); + set => this.Set((int)ComPlusPartitionUserSymbolFields.UserRef, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusRoleForComponentSymbol.cs b/src/wixext/Symbols/ComPlusRoleForComponentSymbol.cs new file mode 100644 index 00000000..2d9968ee --- /dev/null +++ b/src/wixext/Symbols/ComPlusRoleForComponentSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusRoleForComponent = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusRoleForComponent.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentSymbolFields.ComPlusComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentSymbolFields.ComponentRef), IntermediateFieldType.String), + }, + typeof(ComPlusRoleForComponentSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusRoleForComponentSymbolFields + { + ComPlusComponentRef, + ApplicationRoleRef, + ComponentRef, + } + + public class ComPlusRoleForComponentSymbol : IntermediateSymbol + { + public ComPlusRoleForComponentSymbol() : base(ComPlusSymbolDefinitions.ComPlusRoleForComponent, null, null) + { + } + + public ComPlusRoleForComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusRoleForComponent, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusRoleForComponentSymbolFields index] => this.Fields[(int)index]; + + public string ComPlusComponentRef + { + get => this.Fields[(int)ComPlusRoleForComponentSymbolFields.ComPlusComponentRef].AsString(); + set => this.Set((int)ComPlusRoleForComponentSymbolFields.ComPlusComponentRef, value); + } + + public string ApplicationRoleRef + { + get => this.Fields[(int)ComPlusRoleForComponentSymbolFields.ApplicationRoleRef].AsString(); + set => this.Set((int)ComPlusRoleForComponentSymbolFields.ApplicationRoleRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusRoleForComponentSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusRoleForComponentSymbolFields.ComponentRef, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusRoleForInterfaceSymbol.cs b/src/wixext/Symbols/ComPlusRoleForInterfaceSymbol.cs new file mode 100644 index 00000000..b77bd215 --- /dev/null +++ b/src/wixext/Symbols/ComPlusRoleForInterfaceSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusRoleForInterface = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusRoleForInterface.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceSymbolFields.InterfaceRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceSymbolFields.ComponentRef), IntermediateFieldType.String), + }, + typeof(ComPlusRoleForInterfaceSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusRoleForInterfaceSymbolFields + { + InterfaceRef, + ApplicationRoleRef, + ComponentRef, + } + + public class ComPlusRoleForInterfaceSymbol : IntermediateSymbol + { + public ComPlusRoleForInterfaceSymbol() : base(ComPlusSymbolDefinitions.ComPlusRoleForInterface, null, null) + { + } + + public ComPlusRoleForInterfaceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusRoleForInterface, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusRoleForInterfaceSymbolFields index] => this.Fields[(int)index]; + + public string InterfaceRef + { + get => this.Fields[(int)ComPlusRoleForInterfaceSymbolFields.InterfaceRef].AsString(); + set => this.Set((int)ComPlusRoleForInterfaceSymbolFields.InterfaceRef, value); + } + + public string ApplicationRoleRef + { + get => this.Fields[(int)ComPlusRoleForInterfaceSymbolFields.ApplicationRoleRef].AsString(); + set => this.Set((int)ComPlusRoleForInterfaceSymbolFields.ApplicationRoleRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusRoleForInterfaceSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusRoleForInterfaceSymbolFields.ComponentRef, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusRoleForMethodSymbol.cs b/src/wixext/Symbols/ComPlusRoleForMethodSymbol.cs new file mode 100644 index 00000000..9ba9d03b --- /dev/null +++ b/src/wixext/Symbols/ComPlusRoleForMethodSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusRoleForMethod = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusRoleForMethod.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodSymbolFields.MethodRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodSymbolFields.ComponentRef), IntermediateFieldType.String), + }, + typeof(ComPlusRoleForMethodSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusRoleForMethodSymbolFields + { + MethodRef, + ApplicationRoleRef, + ComponentRef, + } + + public class ComPlusRoleForMethodSymbol : IntermediateSymbol + { + public ComPlusRoleForMethodSymbol() : base(ComPlusSymbolDefinitions.ComPlusRoleForMethod, null, null) + { + } + + public ComPlusRoleForMethodSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusRoleForMethod, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusRoleForMethodSymbolFields index] => this.Fields[(int)index]; + + public string MethodRef + { + get => this.Fields[(int)ComPlusRoleForMethodSymbolFields.MethodRef].AsString(); + set => this.Set((int)ComPlusRoleForMethodSymbolFields.MethodRef, value); + } + + public string ApplicationRoleRef + { + get => this.Fields[(int)ComPlusRoleForMethodSymbolFields.ApplicationRoleRef].AsString(); + set => this.Set((int)ComPlusRoleForMethodSymbolFields.ApplicationRoleRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusRoleForMethodSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusRoleForMethodSymbolFields.ComponentRef, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusSubscriptionPropertySymbol.cs b/src/wixext/Symbols/ComPlusSubscriptionPropertySymbol.cs new file mode 100644 index 00000000..af995c3d --- /dev/null +++ b/src/wixext/Symbols/ComPlusSubscriptionPropertySymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusSubscriptionProperty = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusSubscriptionProperty.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertySymbolFields.SubscriptionRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertySymbolFields.Name), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertySymbolFields.Value), IntermediateFieldType.String), + }, + typeof(ComPlusSubscriptionPropertySymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusSubscriptionPropertySymbolFields + { + SubscriptionRef, + Name, + Value, + } + + public class ComPlusSubscriptionPropertySymbol : IntermediateSymbol + { + public ComPlusSubscriptionPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusSubscriptionProperty, null, null) + { + } + + public ComPlusSubscriptionPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusSubscriptionProperty, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusSubscriptionPropertySymbolFields index] => this.Fields[(int)index]; + + public string SubscriptionRef + { + get => this.Fields[(int)ComPlusSubscriptionPropertySymbolFields.SubscriptionRef].AsString(); + set => this.Set((int)ComPlusSubscriptionPropertySymbolFields.SubscriptionRef, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusSubscriptionPropertySymbolFields.Name].AsString(); + set => this.Set((int)ComPlusSubscriptionPropertySymbolFields.Name, value); + } + + public string Value + { + get => this.Fields[(int)ComPlusSubscriptionPropertySymbolFields.Value].AsString(); + set => this.Set((int)ComPlusSubscriptionPropertySymbolFields.Value, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusSubscriptionSymbol.cs b/src/wixext/Symbols/ComPlusSubscriptionSymbol.cs new file mode 100644 index 00000000..24d3f92e --- /dev/null +++ b/src/wixext/Symbols/ComPlusSubscriptionSymbol.cs @@ -0,0 +1,95 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusSubscription = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusSubscription.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.Subscription), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.ComPlusComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.SubscriptionId), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.Name), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.EventCLSID), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.PublisherID), IntermediateFieldType.String), + }, + typeof(ComPlusSubscriptionSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusSubscriptionSymbolFields + { + Subscription, + ComPlusComponentRef, + ComponentRef, + SubscriptionId, + Name, + EventCLSID, + PublisherID, + } + + public class ComPlusSubscriptionSymbol : IntermediateSymbol + { + public ComPlusSubscriptionSymbol() : base(ComPlusSymbolDefinitions.ComPlusSubscription, null, null) + { + } + + public ComPlusSubscriptionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusSubscription, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusSubscriptionSymbolFields index] => this.Fields[(int)index]; + + public string Subscription + { + get => this.Fields[(int)ComPlusSubscriptionSymbolFields.Subscription].AsString(); + set => this.Set((int)ComPlusSubscriptionSymbolFields.Subscription, value); + } + + public string ComPlusComponentRef + { + get => this.Fields[(int)ComPlusSubscriptionSymbolFields.ComPlusComponentRef].AsString(); + set => this.Set((int)ComPlusSubscriptionSymbolFields.ComPlusComponentRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusSubscriptionSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusSubscriptionSymbolFields.ComponentRef, value); + } + + public string SubscriptionId + { + get => this.Fields[(int)ComPlusSubscriptionSymbolFields.SubscriptionId].AsString(); + set => this.Set((int)ComPlusSubscriptionSymbolFields.SubscriptionId, value); + } + + public string Name + { + get => this.Fields[(int)ComPlusSubscriptionSymbolFields.Name].AsString(); + set => this.Set((int)ComPlusSubscriptionSymbolFields.Name, value); + } + + public string EventCLSID + { + get => this.Fields[(int)ComPlusSubscriptionSymbolFields.EventCLSID].AsString(); + set => this.Set((int)ComPlusSubscriptionSymbolFields.EventCLSID, value); + } + + public string PublisherID + { + get => this.Fields[(int)ComPlusSubscriptionSymbolFields.PublisherID].AsString(); + set => this.Set((int)ComPlusSubscriptionSymbolFields.PublisherID, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusSymbolDefinitions.cs b/src/wixext/Symbols/ComPlusSymbolDefinitions.cs new file mode 100644 index 00000000..407b9c14 --- /dev/null +++ b/src/wixext/Symbols/ComPlusSymbolDefinitions.cs @@ -0,0 +1,135 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using System; + using WixToolset.Data; + + public enum ComPlusSymbolDefinitionType + { + ComPlusApplication, + ComPlusApplicationProperty, + ComPlusApplicationRole, + ComPlusApplicationRoleProperty, + ComPlusAssembly, + ComPlusAssemblyDependency, + ComPlusComponent, + ComPlusComponentProperty, + ComPlusGroupInApplicationRole, + ComPlusGroupInPartitionRole, + ComPlusInterface, + ComPlusInterfaceProperty, + ComPlusMethod, + ComPlusMethodProperty, + ComPlusPartition, + ComPlusPartitionProperty, + ComPlusPartitionRole, + ComPlusPartitionUser, + ComPlusRoleForComponent, + ComPlusRoleForInterface, + ComPlusRoleForMethod, + ComPlusSubscription, + ComPlusSubscriptionProperty, + ComPlusUserInApplicationRole, + ComPlusUserInPartitionRole, + } + + public static partial class ComPlusSymbolDefinitions + { + public static readonly Version Version = new Version("4.0.0"); + + public static IntermediateSymbolDefinition ByName(string name) + { + if (!Enum.TryParse(name, out ComPlusSymbolDefinitionType type)) + { + return null; + } + + return ByType(type); + } + + public static IntermediateSymbolDefinition ByType(ComPlusSymbolDefinitionType type) + { + switch (type) + { + case ComPlusSymbolDefinitionType.ComPlusApplication: + return ComPlusSymbolDefinitions.ComPlusApplication; + + case ComPlusSymbolDefinitionType.ComPlusApplicationProperty: + return ComPlusSymbolDefinitions.ComPlusApplicationProperty; + + case ComPlusSymbolDefinitionType.ComPlusApplicationRole: + return ComPlusSymbolDefinitions.ComPlusApplicationRole; + + case ComPlusSymbolDefinitionType.ComPlusApplicationRoleProperty: + return ComPlusSymbolDefinitions.ComPlusApplicationRoleProperty; + + case ComPlusSymbolDefinitionType.ComPlusAssembly: + return ComPlusSymbolDefinitions.ComPlusAssembly; + + case ComPlusSymbolDefinitionType.ComPlusAssemblyDependency: + return ComPlusSymbolDefinitions.ComPlusAssemblyDependency; + + case ComPlusSymbolDefinitionType.ComPlusComponent: + return ComPlusSymbolDefinitions.ComPlusComponent; + + case ComPlusSymbolDefinitionType.ComPlusComponentProperty: + return ComPlusSymbolDefinitions.ComPlusComponentProperty; + + case ComPlusSymbolDefinitionType.ComPlusGroupInApplicationRole: + return ComPlusSymbolDefinitions.ComPlusGroupInApplicationRole; + + case ComPlusSymbolDefinitionType.ComPlusGroupInPartitionRole: + return ComPlusSymbolDefinitions.ComPlusGroupInPartitionRole; + + case ComPlusSymbolDefinitionType.ComPlusInterface: + return ComPlusSymbolDefinitions.ComPlusInterface; + + case ComPlusSymbolDefinitionType.ComPlusInterfaceProperty: + return ComPlusSymbolDefinitions.ComPlusInterfaceProperty; + + case ComPlusSymbolDefinitionType.ComPlusMethod: + return ComPlusSymbolDefinitions.ComPlusMethod; + + case ComPlusSymbolDefinitionType.ComPlusMethodProperty: + return ComPlusSymbolDefinitions.ComPlusMethodProperty; + + case ComPlusSymbolDefinitionType.ComPlusPartition: + return ComPlusSymbolDefinitions.ComPlusPartition; + + case ComPlusSymbolDefinitionType.ComPlusPartitionProperty: + return ComPlusSymbolDefinitions.ComPlusPartitionProperty; + + case ComPlusSymbolDefinitionType.ComPlusPartitionRole: + return ComPlusSymbolDefinitions.ComPlusPartitionRole; + + case ComPlusSymbolDefinitionType.ComPlusPartitionUser: + return ComPlusSymbolDefinitions.ComPlusPartitionUser; + + case ComPlusSymbolDefinitionType.ComPlusRoleForComponent: + return ComPlusSymbolDefinitions.ComPlusRoleForComponent; + + case ComPlusSymbolDefinitionType.ComPlusRoleForInterface: + return ComPlusSymbolDefinitions.ComPlusRoleForInterface; + + case ComPlusSymbolDefinitionType.ComPlusRoleForMethod: + return ComPlusSymbolDefinitions.ComPlusRoleForMethod; + + case ComPlusSymbolDefinitionType.ComPlusSubscription: + return ComPlusSymbolDefinitions.ComPlusSubscription; + + case ComPlusSymbolDefinitionType.ComPlusSubscriptionProperty: + return ComPlusSymbolDefinitions.ComPlusSubscriptionProperty; + + case ComPlusSymbolDefinitionType.ComPlusUserInApplicationRole: + return ComPlusSymbolDefinitions.ComPlusUserInApplicationRole; + + case ComPlusSymbolDefinitionType.ComPlusUserInPartitionRole: + return ComPlusSymbolDefinitions.ComPlusUserInPartitionRole; + + default: + throw new ArgumentOutOfRangeException(nameof(type)); + } + } + } +} diff --git a/src/wixext/Symbols/ComPlusUserInApplicationRoleSymbol.cs b/src/wixext/Symbols/ComPlusUserInApplicationRoleSymbol.cs new file mode 100644 index 00000000..1f2e01b2 --- /dev/null +++ b/src/wixext/Symbols/ComPlusUserInApplicationRoleSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusUserInApplicationRole = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusUserInApplicationRole.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleSymbolFields.UserRef), IntermediateFieldType.String), + }, + typeof(ComPlusUserInApplicationRoleSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusUserInApplicationRoleSymbolFields + { + ApplicationRoleRef, + ComponentRef, + UserRef, + } + + public class ComPlusUserInApplicationRoleSymbol : IntermediateSymbol + { + public ComPlusUserInApplicationRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusUserInApplicationRole, null, null) + { + } + + public ComPlusUserInApplicationRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusUserInApplicationRole, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusUserInApplicationRoleSymbolFields index] => this.Fields[(int)index]; + + public string ApplicationRoleRef + { + get => this.Fields[(int)ComPlusUserInApplicationRoleSymbolFields.ApplicationRoleRef].AsString(); + set => this.Set((int)ComPlusUserInApplicationRoleSymbolFields.ApplicationRoleRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusUserInApplicationRoleSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusUserInApplicationRoleSymbolFields.ComponentRef, value); + } + + public string UserRef + { + get => this.Fields[(int)ComPlusUserInApplicationRoleSymbolFields.UserRef].AsString(); + set => this.Set((int)ComPlusUserInApplicationRoleSymbolFields.UserRef, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Symbols/ComPlusUserInPartitionRoleSymbol.cs b/src/wixext/Symbols/ComPlusUserInPartitionRoleSymbol.cs new file mode 100644 index 00000000..10df94bf --- /dev/null +++ b/src/wixext/Symbols/ComPlusUserInPartitionRoleSymbol.cs @@ -0,0 +1,63 @@ +// 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. + +namespace WixToolset.ComPlus +{ + using WixToolset.Data; + using WixToolset.ComPlus.Symbols; + + public static partial class ComPlusSymbolDefinitions + { + public static readonly IntermediateSymbolDefinition ComPlusUserInPartitionRole = new IntermediateSymbolDefinition( + ComPlusSymbolDefinitionType.ComPlusUserInPartitionRole.ToString(), + new[] + { + new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleSymbolFields.PartitionRoleRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleSymbolFields.ComponentRef), IntermediateFieldType.String), + new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleSymbolFields.UserRef), IntermediateFieldType.String), + }, + typeof(ComPlusUserInPartitionRoleSymbol)); + } +} + +namespace WixToolset.ComPlus.Symbols +{ + using WixToolset.Data; + + public enum ComPlusUserInPartitionRoleSymbolFields + { + PartitionRoleRef, + ComponentRef, + UserRef, + } + + public class ComPlusUserInPartitionRoleSymbol : IntermediateSymbol + { + public ComPlusUserInPartitionRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusUserInPartitionRole, null, null) + { + } + + public ComPlusUserInPartitionRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusUserInPartitionRole, sourceLineNumber, id) + { + } + + public IntermediateField this[ComPlusUserInPartitionRoleSymbolFields index] => this.Fields[(int)index]; + + public string PartitionRoleRef + { + get => this.Fields[(int)ComPlusUserInPartitionRoleSymbolFields.PartitionRoleRef].AsString(); + set => this.Set((int)ComPlusUserInPartitionRoleSymbolFields.PartitionRoleRef, value); + } + + public string ComponentRef + { + get => this.Fields[(int)ComPlusUserInPartitionRoleSymbolFields.ComponentRef].AsString(); + set => this.Set((int)ComPlusUserInPartitionRoleSymbolFields.ComponentRef, value); + } + + public string UserRef + { + get => this.Fields[(int)ComPlusUserInPartitionRoleSymbolFields.UserRef].AsString(); + set => this.Set((int)ComPlusUserInPartitionRoleSymbolFields.UserRef, value); + } + } +} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusApplicationPropertyTuple.cs b/src/wixext/Tuples/ComPlusApplicationPropertyTuple.cs deleted file mode 100644 index 6d1e2d28..00000000 --- a/src/wixext/Tuples/ComPlusApplicationPropertyTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusApplicationProperty = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusApplicationProperty.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertySymbolFields.ApplicationRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertySymbolFields.Name), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusApplicationPropertySymbolFields.Value), IntermediateFieldType.String), - }, - typeof(ComPlusApplicationPropertySymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusApplicationPropertySymbolFields - { - ApplicationRef, - Name, - Value, - } - - public class ComPlusApplicationPropertySymbol : IntermediateSymbol - { - public ComPlusApplicationPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusApplicationProperty, null, null) - { - } - - public ComPlusApplicationPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplicationProperty, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusApplicationPropertySymbolFields index] => this.Fields[(int)index]; - - public string ApplicationRef - { - get => this.Fields[(int)ComPlusApplicationPropertySymbolFields.ApplicationRef].AsString(); - set => this.Set((int)ComPlusApplicationPropertySymbolFields.ApplicationRef, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusApplicationPropertySymbolFields.Name].AsString(); - set => this.Set((int)ComPlusApplicationPropertySymbolFields.Name, value); - } - - public string Value - { - get => this.Fields[(int)ComPlusApplicationPropertySymbolFields.Value].AsString(); - set => this.Set((int)ComPlusApplicationPropertySymbolFields.Value, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusApplicationRolePropertyTuple.cs b/src/wixext/Tuples/ComPlusApplicationRolePropertyTuple.cs deleted file mode 100644 index 3b957899..00000000 --- a/src/wixext/Tuples/ComPlusApplicationRolePropertyTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusApplicationRoleProperty = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusApplicationRoleProperty.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertySymbolFields.ApplicationRoleRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertySymbolFields.Name), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusApplicationRolePropertySymbolFields.Value), IntermediateFieldType.String), - }, - typeof(ComPlusApplicationRolePropertySymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusApplicationRolePropertySymbolFields - { - ApplicationRoleRef, - Name, - Value, - } - - public class ComPlusApplicationRolePropertySymbol : IntermediateSymbol - { - public ComPlusApplicationRolePropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusApplicationRoleProperty, null, null) - { - } - - public ComPlusApplicationRolePropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplicationRoleProperty, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusApplicationRolePropertySymbolFields index] => this.Fields[(int)index]; - - public string ApplicationRoleRef - { - get => this.Fields[(int)ComPlusApplicationRolePropertySymbolFields.ApplicationRoleRef].AsString(); - set => this.Set((int)ComPlusApplicationRolePropertySymbolFields.ApplicationRoleRef, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusApplicationRolePropertySymbolFields.Name].AsString(); - set => this.Set((int)ComPlusApplicationRolePropertySymbolFields.Name, value); - } - - public string Value - { - get => this.Fields[(int)ComPlusApplicationRolePropertySymbolFields.Value].AsString(); - set => this.Set((int)ComPlusApplicationRolePropertySymbolFields.Value, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs b/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs deleted file mode 100644 index 84028ee3..00000000 --- a/src/wixext/Tuples/ComPlusApplicationRoleTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusApplicationRole = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusApplicationRole.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleSymbolFields.ApplicationRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusApplicationRoleSymbolFields.Name), IntermediateFieldType.String), - }, - typeof(ComPlusApplicationRoleSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusApplicationRoleSymbolFields - { - ApplicationRef, - ComponentRef, - Name, - } - - public class ComPlusApplicationRoleSymbol : IntermediateSymbol - { - public ComPlusApplicationRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusApplicationRole, null, null) - { - } - - public ComPlusApplicationRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplicationRole, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusApplicationRoleSymbolFields index] => this.Fields[(int)index]; - - public string ApplicationRef - { - get => this.Fields[(int)ComPlusApplicationRoleSymbolFields.ApplicationRef].AsString(); - set => this.Set((int)ComPlusApplicationRoleSymbolFields.ApplicationRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusApplicationRoleSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusApplicationRoleSymbolFields.ComponentRef, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusApplicationRoleSymbolFields.Name].AsString(); - set => this.Set((int)ComPlusApplicationRoleSymbolFields.Name, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusApplicationTuple.cs b/src/wixext/Tuples/ComPlusApplicationTuple.cs deleted file mode 100644 index ce541e43..00000000 --- a/src/wixext/Tuples/ComPlusApplicationTuple.cs +++ /dev/null @@ -1,71 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusApplication = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusApplication.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.PartitionRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.ApplicationId), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusApplicationSymbolFields.Name), IntermediateFieldType.String), - }, - typeof(ComPlusApplicationSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusApplicationSymbolFields - { - PartitionRef, - ComponentRef, - ApplicationId, - Name, - } - - public class ComPlusApplicationSymbol : IntermediateSymbol - { - public ComPlusApplicationSymbol() : base(ComPlusSymbolDefinitions.ComPlusApplication, null, null) - { - } - - public ComPlusApplicationSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusApplication, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusApplicationSymbolFields index] => this.Fields[(int)index]; - - public string PartitionRef - { - get => this.Fields[(int)ComPlusApplicationSymbolFields.PartitionRef].AsString(); - set => this.Set((int)ComPlusApplicationSymbolFields.PartitionRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusApplicationSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusApplicationSymbolFields.ComponentRef, value); - } - - public string ApplicationId - { - get => this.Fields[(int)ComPlusApplicationSymbolFields.ApplicationId].AsString(); - set => this.Set((int)ComPlusApplicationSymbolFields.ApplicationId, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusApplicationSymbolFields.Name].AsString(); - set => this.Set((int)ComPlusApplicationSymbolFields.Name, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusAssemblyDependencyTuple.cs b/src/wixext/Tuples/ComPlusAssemblyDependencyTuple.cs deleted file mode 100644 index 549d53e4..00000000 --- a/src/wixext/Tuples/ComPlusAssemblyDependencyTuple.cs +++ /dev/null @@ -1,55 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusAssemblyDependency = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusAssemblyDependency.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusAssemblyDependencySymbolFields.AssemblyRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusAssemblyDependencySymbolFields.RequiredAssemblyRef), IntermediateFieldType.String), - }, - typeof(ComPlusAssemblyDependencySymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusAssemblyDependencySymbolFields - { - AssemblyRef, - RequiredAssemblyRef, - } - - public class ComPlusAssemblyDependencySymbol : IntermediateSymbol - { - public ComPlusAssemblyDependencySymbol() : base(ComPlusSymbolDefinitions.ComPlusAssemblyDependency, null, null) - { - } - - public ComPlusAssemblyDependencySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusAssemblyDependency, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusAssemblyDependencySymbolFields index] => this.Fields[(int)index]; - - public string AssemblyRef - { - get => this.Fields[(int)ComPlusAssemblyDependencySymbolFields.AssemblyRef].AsString(); - set => this.Set((int)ComPlusAssemblyDependencySymbolFields.AssemblyRef, value); - } - - public string RequiredAssemblyRef - { - get => this.Fields[(int)ComPlusAssemblyDependencySymbolFields.RequiredAssemblyRef].AsString(); - set => this.Set((int)ComPlusAssemblyDependencySymbolFields.RequiredAssemblyRef, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusAssemblyTuple.cs b/src/wixext/Tuples/ComPlusAssemblyTuple.cs deleted file mode 100644 index 1329df30..00000000 --- a/src/wixext/Tuples/ComPlusAssemblyTuple.cs +++ /dev/null @@ -1,95 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusAssembly = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusAssembly.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.ApplicationRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.AssemblyName), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.DllPath), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.TlbPath), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.PSDllPath), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusAssemblySymbolFields.Attributes), IntermediateFieldType.Number), - }, - typeof(ComPlusAssemblySymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusAssemblySymbolFields - { - ApplicationRef, - ComponentRef, - AssemblyName, - DllPath, - TlbPath, - PSDllPath, - Attributes, - } - - public class ComPlusAssemblySymbol : IntermediateSymbol - { - public ComPlusAssemblySymbol() : base(ComPlusSymbolDefinitions.ComPlusAssembly, null, null) - { - } - - public ComPlusAssemblySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusAssembly, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusAssemblySymbolFields index] => this.Fields[(int)index]; - - public string ApplicationRef - { - get => this.Fields[(int)ComPlusAssemblySymbolFields.ApplicationRef].AsString(); - set => this.Set((int)ComPlusAssemblySymbolFields.ApplicationRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusAssemblySymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusAssemblySymbolFields.ComponentRef, value); - } - - public string AssemblyName - { - get => this.Fields[(int)ComPlusAssemblySymbolFields.AssemblyName].AsString(); - set => this.Set((int)ComPlusAssemblySymbolFields.AssemblyName, value); - } - - public string DllPath - { - get => this.Fields[(int)ComPlusAssemblySymbolFields.DllPath].AsString(); - set => this.Set((int)ComPlusAssemblySymbolFields.DllPath, value); - } - - public string TlbPath - { - get => this.Fields[(int)ComPlusAssemblySymbolFields.TlbPath].AsString(); - set => this.Set((int)ComPlusAssemblySymbolFields.TlbPath, value); - } - - public string PSDllPath - { - get => this.Fields[(int)ComPlusAssemblySymbolFields.PSDllPath].AsString(); - set => this.Set((int)ComPlusAssemblySymbolFields.PSDllPath, value); - } - - public int Attributes - { - get => this.Fields[(int)ComPlusAssemblySymbolFields.Attributes].AsNumber(); - set => this.Set((int)ComPlusAssemblySymbolFields.Attributes, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusComponentPropertyTuple.cs b/src/wixext/Tuples/ComPlusComponentPropertyTuple.cs deleted file mode 100644 index b1d85b60..00000000 --- a/src/wixext/Tuples/ComPlusComponentPropertyTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusComponentProperty = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusComponentProperty.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusComponentPropertySymbolFields.ComPlusComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusComponentPropertySymbolFields.Name), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusComponentPropertySymbolFields.Value), IntermediateFieldType.String), - }, - typeof(ComPlusComponentPropertySymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusComponentPropertySymbolFields - { - ComPlusComponentRef, - Name, - Value, - } - - public class ComPlusComponentPropertySymbol : IntermediateSymbol - { - public ComPlusComponentPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusComponentProperty, null, null) - { - } - - public ComPlusComponentPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusComponentProperty, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusComponentPropertySymbolFields index] => this.Fields[(int)index]; - - public string ComPlusComponentRef - { - get => this.Fields[(int)ComPlusComponentPropertySymbolFields.ComPlusComponentRef].AsString(); - set => this.Set((int)ComPlusComponentPropertySymbolFields.ComPlusComponentRef, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusComponentPropertySymbolFields.Name].AsString(); - set => this.Set((int)ComPlusComponentPropertySymbolFields.Name, value); - } - - public string Value - { - get => this.Fields[(int)ComPlusComponentPropertySymbolFields.Value].AsString(); - set => this.Set((int)ComPlusComponentPropertySymbolFields.Value, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusComponentTuple.cs b/src/wixext/Tuples/ComPlusComponentTuple.cs deleted file mode 100644 index 020b754c..00000000 --- a/src/wixext/Tuples/ComPlusComponentTuple.cs +++ /dev/null @@ -1,55 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusComponent = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusComponent.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusComponentSymbolFields.AssemblyRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusComponentSymbolFields.CLSID), IntermediateFieldType.String), - }, - typeof(ComPlusComponentSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusComponentSymbolFields - { - AssemblyRef, - CLSID, - } - - public class ComPlusComponentSymbol : IntermediateSymbol - { - public ComPlusComponentSymbol() : base(ComPlusSymbolDefinitions.ComPlusComponent, null, null) - { - } - - public ComPlusComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusComponent, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusComponentSymbolFields index] => this.Fields[(int)index]; - - public string AssemblyRef - { - get => this.Fields[(int)ComPlusComponentSymbolFields.AssemblyRef].AsString(); - set => this.Set((int)ComPlusComponentSymbolFields.AssemblyRef, value); - } - - public string CLSID - { - get => this.Fields[(int)ComPlusComponentSymbolFields.CLSID].AsString(); - set => this.Set((int)ComPlusComponentSymbolFields.CLSID, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusGroupInApplicationRoleTuple.cs b/src/wixext/Tuples/ComPlusGroupInApplicationRoleTuple.cs deleted file mode 100644 index d6b91e99..00000000 --- a/src/wixext/Tuples/ComPlusGroupInApplicationRoleTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusGroupInApplicationRole = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusGroupInApplicationRole.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusGroupInApplicationRoleSymbolFields.GroupRef), IntermediateFieldType.String), - }, - typeof(ComPlusGroupInApplicationRoleSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusGroupInApplicationRoleSymbolFields - { - ApplicationRoleRef, - ComponentRef, - GroupRef, - } - - public class ComPlusGroupInApplicationRoleSymbol : IntermediateSymbol - { - public ComPlusGroupInApplicationRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusGroupInApplicationRole, null, null) - { - } - - public ComPlusGroupInApplicationRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusGroupInApplicationRole, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusGroupInApplicationRoleSymbolFields index] => this.Fields[(int)index]; - - public string ApplicationRoleRef - { - get => this.Fields[(int)ComPlusGroupInApplicationRoleSymbolFields.ApplicationRoleRef].AsString(); - set => this.Set((int)ComPlusGroupInApplicationRoleSymbolFields.ApplicationRoleRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusGroupInApplicationRoleSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusGroupInApplicationRoleSymbolFields.ComponentRef, value); - } - - public string GroupRef - { - get => this.Fields[(int)ComPlusGroupInApplicationRoleSymbolFields.GroupRef].AsString(); - set => this.Set((int)ComPlusGroupInApplicationRoleSymbolFields.GroupRef, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusGroupInPartitionRoleTuple.cs b/src/wixext/Tuples/ComPlusGroupInPartitionRoleTuple.cs deleted file mode 100644 index da70de9f..00000000 --- a/src/wixext/Tuples/ComPlusGroupInPartitionRoleTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusGroupInPartitionRole = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusGroupInPartitionRole.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleSymbolFields.PartitionRoleRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusGroupInPartitionRoleSymbolFields.GroupRef), IntermediateFieldType.String), - }, - typeof(ComPlusGroupInPartitionRoleSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusGroupInPartitionRoleSymbolFields - { - PartitionRoleRef, - ComponentRef, - GroupRef, - } - - public class ComPlusGroupInPartitionRoleSymbol : IntermediateSymbol - { - public ComPlusGroupInPartitionRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusGroupInPartitionRole, null, null) - { - } - - public ComPlusGroupInPartitionRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusGroupInPartitionRole, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusGroupInPartitionRoleSymbolFields index] => this.Fields[(int)index]; - - public string PartitionRoleRef - { - get => this.Fields[(int)ComPlusGroupInPartitionRoleSymbolFields.PartitionRoleRef].AsString(); - set => this.Set((int)ComPlusGroupInPartitionRoleSymbolFields.PartitionRoleRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusGroupInPartitionRoleSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusGroupInPartitionRoleSymbolFields.ComponentRef, value); - } - - public string GroupRef - { - get => this.Fields[(int)ComPlusGroupInPartitionRoleSymbolFields.GroupRef].AsString(); - set => this.Set((int)ComPlusGroupInPartitionRoleSymbolFields.GroupRef, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusInterfacePropertyTuple.cs b/src/wixext/Tuples/ComPlusInterfacePropertyTuple.cs deleted file mode 100644 index 2ed4ce18..00000000 --- a/src/wixext/Tuples/ComPlusInterfacePropertyTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusInterfaceProperty = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusInterfaceProperty.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertySymbolFields.InterfaceRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertySymbolFields.Name), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusInterfacePropertySymbolFields.Value), IntermediateFieldType.String), - }, - typeof(ComPlusInterfacePropertySymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusInterfacePropertySymbolFields - { - InterfaceRef, - Name, - Value, - } - - public class ComPlusInterfacePropertySymbol : IntermediateSymbol - { - public ComPlusInterfacePropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusInterfaceProperty, null, null) - { - } - - public ComPlusInterfacePropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusInterfaceProperty, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusInterfacePropertySymbolFields index] => this.Fields[(int)index]; - - public string InterfaceRef - { - get => this.Fields[(int)ComPlusInterfacePropertySymbolFields.InterfaceRef].AsString(); - set => this.Set((int)ComPlusInterfacePropertySymbolFields.InterfaceRef, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusInterfacePropertySymbolFields.Name].AsString(); - set => this.Set((int)ComPlusInterfacePropertySymbolFields.Name, value); - } - - public string Value - { - get => this.Fields[(int)ComPlusInterfacePropertySymbolFields.Value].AsString(); - set => this.Set((int)ComPlusInterfacePropertySymbolFields.Value, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusInterfaceTuple.cs b/src/wixext/Tuples/ComPlusInterfaceTuple.cs deleted file mode 100644 index f875b424..00000000 --- a/src/wixext/Tuples/ComPlusInterfaceTuple.cs +++ /dev/null @@ -1,55 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusInterface = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusInterface.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusInterfaceSymbolFields.ComPlusComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusInterfaceSymbolFields.IID), IntermediateFieldType.String), - }, - typeof(ComPlusInterfaceSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusInterfaceSymbolFields - { - ComPlusComponentRef, - IID, - } - - public class ComPlusInterfaceSymbol : IntermediateSymbol - { - public ComPlusInterfaceSymbol() : base(ComPlusSymbolDefinitions.ComPlusInterface, null, null) - { - } - - public ComPlusInterfaceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusInterface, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusInterfaceSymbolFields index] => this.Fields[(int)index]; - - public string ComPlusComponentRef - { - get => this.Fields[(int)ComPlusInterfaceSymbolFields.ComPlusComponentRef].AsString(); - set => this.Set((int)ComPlusInterfaceSymbolFields.ComPlusComponentRef, value); - } - - public string IID - { - get => this.Fields[(int)ComPlusInterfaceSymbolFields.IID].AsString(); - set => this.Set((int)ComPlusInterfaceSymbolFields.IID, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusMethodPropertyTuple.cs b/src/wixext/Tuples/ComPlusMethodPropertyTuple.cs deleted file mode 100644 index 65b17ea4..00000000 --- a/src/wixext/Tuples/ComPlusMethodPropertyTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusMethodProperty = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusMethodProperty.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusMethodPropertySymbolFields.MethodRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusMethodPropertySymbolFields.Name), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusMethodPropertySymbolFields.Value), IntermediateFieldType.String), - }, - typeof(ComPlusMethodPropertySymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusMethodPropertySymbolFields - { - MethodRef, - Name, - Value, - } - - public class ComPlusMethodPropertySymbol : IntermediateSymbol - { - public ComPlusMethodPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusMethodProperty, null, null) - { - } - - public ComPlusMethodPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusMethodProperty, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusMethodPropertySymbolFields index] => this.Fields[(int)index]; - - public string MethodRef - { - get => this.Fields[(int)ComPlusMethodPropertySymbolFields.MethodRef].AsString(); - set => this.Set((int)ComPlusMethodPropertySymbolFields.MethodRef, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusMethodPropertySymbolFields.Name].AsString(); - set => this.Set((int)ComPlusMethodPropertySymbolFields.Name, value); - } - - public string Value - { - get => this.Fields[(int)ComPlusMethodPropertySymbolFields.Value].AsString(); - set => this.Set((int)ComPlusMethodPropertySymbolFields.Value, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusMethodTuple.cs b/src/wixext/Tuples/ComPlusMethodTuple.cs deleted file mode 100644 index 9959a56f..00000000 --- a/src/wixext/Tuples/ComPlusMethodTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusMethod = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusMethod.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.InterfaceRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.Index), IntermediateFieldType.Number), - new IntermediateFieldDefinition(nameof(ComPlusMethodSymbolFields.Name), IntermediateFieldType.String), - }, - typeof(ComPlusMethodSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusMethodSymbolFields - { - InterfaceRef, - Index, - Name, - } - - public class ComPlusMethodSymbol : IntermediateSymbol - { - public ComPlusMethodSymbol() : base(ComPlusSymbolDefinitions.ComPlusMethod, null, null) - { - } - - public ComPlusMethodSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusMethod, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusMethodSymbolFields index] => this.Fields[(int)index]; - - public string InterfaceRef - { - get => this.Fields[(int)ComPlusMethodSymbolFields.InterfaceRef].AsString(); - set => this.Set((int)ComPlusMethodSymbolFields.InterfaceRef, value); - } - - public int? Index - { - get => this.Fields[(int)ComPlusMethodSymbolFields.Index].AsNullableNumber(); - set => this.Set((int)ComPlusMethodSymbolFields.Index, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusMethodSymbolFields.Name].AsString(); - set => this.Set((int)ComPlusMethodSymbolFields.Name, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusPartitionPropertyTuple.cs b/src/wixext/Tuples/ComPlusPartitionPropertyTuple.cs deleted file mode 100644 index e42feae2..00000000 --- a/src/wixext/Tuples/ComPlusPartitionPropertyTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusPartitionProperty = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusPartitionProperty.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertySymbolFields.PartitionRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertySymbolFields.Name), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusPartitionPropertySymbolFields.Value), IntermediateFieldType.String), - }, - typeof(ComPlusPartitionPropertySymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusPartitionPropertySymbolFields - { - PartitionRef, - Name, - Value, - } - - public class ComPlusPartitionPropertySymbol : IntermediateSymbol - { - public ComPlusPartitionPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusPartitionProperty, null, null) - { - } - - public ComPlusPartitionPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartitionProperty, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusPartitionPropertySymbolFields index] => this.Fields[(int)index]; - - public string PartitionRef - { - get => this.Fields[(int)ComPlusPartitionPropertySymbolFields.PartitionRef].AsString(); - set => this.Set((int)ComPlusPartitionPropertySymbolFields.PartitionRef, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusPartitionPropertySymbolFields.Name].AsString(); - set => this.Set((int)ComPlusPartitionPropertySymbolFields.Name, value); - } - - public string Value - { - get => this.Fields[(int)ComPlusPartitionPropertySymbolFields.Value].AsString(); - set => this.Set((int)ComPlusPartitionPropertySymbolFields.Value, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusPartitionRoleTuple.cs b/src/wixext/Tuples/ComPlusPartitionRoleTuple.cs deleted file mode 100644 index 23293d93..00000000 --- a/src/wixext/Tuples/ComPlusPartitionRoleTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusPartitionRole = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusPartitionRole.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleSymbolFields.PartitionRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusPartitionRoleSymbolFields.Name), IntermediateFieldType.String), - }, - typeof(ComPlusPartitionRoleSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusPartitionRoleSymbolFields - { - PartitionRef, - ComponentRef, - Name, - } - - public class ComPlusPartitionRoleSymbol : IntermediateSymbol - { - public ComPlusPartitionRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusPartitionRole, null, null) - { - } - - public ComPlusPartitionRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartitionRole, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusPartitionRoleSymbolFields index] => this.Fields[(int)index]; - - public string PartitionRef - { - get => this.Fields[(int)ComPlusPartitionRoleSymbolFields.PartitionRef].AsString(); - set => this.Set((int)ComPlusPartitionRoleSymbolFields.PartitionRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusPartitionRoleSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusPartitionRoleSymbolFields.ComponentRef, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusPartitionRoleSymbolFields.Name].AsString(); - set => this.Set((int)ComPlusPartitionRoleSymbolFields.Name, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusPartitionTuple.cs b/src/wixext/Tuples/ComPlusPartitionTuple.cs deleted file mode 100644 index c60fca40..00000000 --- a/src/wixext/Tuples/ComPlusPartitionTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusPartition = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusPartition.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusPartitionSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusPartitionSymbolFields.PartitionId), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusPartitionSymbolFields.Name), IntermediateFieldType.String), - }, - typeof(ComPlusPartitionSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusPartitionSymbolFields - { - ComponentRef, - PartitionId, - Name, - } - - public class ComPlusPartitionSymbol : IntermediateSymbol - { - public ComPlusPartitionSymbol() : base(ComPlusSymbolDefinitions.ComPlusPartition, null, null) - { - } - - public ComPlusPartitionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartition, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusPartitionSymbolFields index] => this.Fields[(int)index]; - - public string ComponentRef - { - get => this.Fields[(int)ComPlusPartitionSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusPartitionSymbolFields.ComponentRef, value); - } - - public string PartitionId - { - get => this.Fields[(int)ComPlusPartitionSymbolFields.PartitionId].AsString(); - set => this.Set((int)ComPlusPartitionSymbolFields.PartitionId, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusPartitionSymbolFields.Name].AsString(); - set => this.Set((int)ComPlusPartitionSymbolFields.Name, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusPartitionUserTuple.cs b/src/wixext/Tuples/ComPlusPartitionUserTuple.cs deleted file mode 100644 index c4d52f54..00000000 --- a/src/wixext/Tuples/ComPlusPartitionUserTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusPartitionUser = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusPartitionUser.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusPartitionUserSymbolFields.PartitionRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusPartitionUserSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusPartitionUserSymbolFields.UserRef), IntermediateFieldType.String), - }, - typeof(ComPlusPartitionUserSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusPartitionUserSymbolFields - { - PartitionRef, - ComponentRef, - UserRef, - } - - public class ComPlusPartitionUserSymbol : IntermediateSymbol - { - public ComPlusPartitionUserSymbol() : base(ComPlusSymbolDefinitions.ComPlusPartitionUser, null, null) - { - } - - public ComPlusPartitionUserSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusPartitionUser, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusPartitionUserSymbolFields index] => this.Fields[(int)index]; - - public string PartitionRef - { - get => this.Fields[(int)ComPlusPartitionUserSymbolFields.PartitionRef].AsString(); - set => this.Set((int)ComPlusPartitionUserSymbolFields.PartitionRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusPartitionUserSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusPartitionUserSymbolFields.ComponentRef, value); - } - - public string UserRef - { - get => this.Fields[(int)ComPlusPartitionUserSymbolFields.UserRef].AsString(); - set => this.Set((int)ComPlusPartitionUserSymbolFields.UserRef, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusRoleForComponentTuple.cs b/src/wixext/Tuples/ComPlusRoleForComponentTuple.cs deleted file mode 100644 index 2d9968ee..00000000 --- a/src/wixext/Tuples/ComPlusRoleForComponentTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusRoleForComponent = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusRoleForComponent.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentSymbolFields.ComPlusComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusRoleForComponentSymbolFields.ComponentRef), IntermediateFieldType.String), - }, - typeof(ComPlusRoleForComponentSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusRoleForComponentSymbolFields - { - ComPlusComponentRef, - ApplicationRoleRef, - ComponentRef, - } - - public class ComPlusRoleForComponentSymbol : IntermediateSymbol - { - public ComPlusRoleForComponentSymbol() : base(ComPlusSymbolDefinitions.ComPlusRoleForComponent, null, null) - { - } - - public ComPlusRoleForComponentSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusRoleForComponent, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusRoleForComponentSymbolFields index] => this.Fields[(int)index]; - - public string ComPlusComponentRef - { - get => this.Fields[(int)ComPlusRoleForComponentSymbolFields.ComPlusComponentRef].AsString(); - set => this.Set((int)ComPlusRoleForComponentSymbolFields.ComPlusComponentRef, value); - } - - public string ApplicationRoleRef - { - get => this.Fields[(int)ComPlusRoleForComponentSymbolFields.ApplicationRoleRef].AsString(); - set => this.Set((int)ComPlusRoleForComponentSymbolFields.ApplicationRoleRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusRoleForComponentSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusRoleForComponentSymbolFields.ComponentRef, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusRoleForInterfaceTuple.cs b/src/wixext/Tuples/ComPlusRoleForInterfaceTuple.cs deleted file mode 100644 index b77bd215..00000000 --- a/src/wixext/Tuples/ComPlusRoleForInterfaceTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusRoleForInterface = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusRoleForInterface.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceSymbolFields.InterfaceRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusRoleForInterfaceSymbolFields.ComponentRef), IntermediateFieldType.String), - }, - typeof(ComPlusRoleForInterfaceSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusRoleForInterfaceSymbolFields - { - InterfaceRef, - ApplicationRoleRef, - ComponentRef, - } - - public class ComPlusRoleForInterfaceSymbol : IntermediateSymbol - { - public ComPlusRoleForInterfaceSymbol() : base(ComPlusSymbolDefinitions.ComPlusRoleForInterface, null, null) - { - } - - public ComPlusRoleForInterfaceSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusRoleForInterface, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusRoleForInterfaceSymbolFields index] => this.Fields[(int)index]; - - public string InterfaceRef - { - get => this.Fields[(int)ComPlusRoleForInterfaceSymbolFields.InterfaceRef].AsString(); - set => this.Set((int)ComPlusRoleForInterfaceSymbolFields.InterfaceRef, value); - } - - public string ApplicationRoleRef - { - get => this.Fields[(int)ComPlusRoleForInterfaceSymbolFields.ApplicationRoleRef].AsString(); - set => this.Set((int)ComPlusRoleForInterfaceSymbolFields.ApplicationRoleRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusRoleForInterfaceSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusRoleForInterfaceSymbolFields.ComponentRef, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusRoleForMethodTuple.cs b/src/wixext/Tuples/ComPlusRoleForMethodTuple.cs deleted file mode 100644 index 9ba9d03b..00000000 --- a/src/wixext/Tuples/ComPlusRoleForMethodTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusRoleForMethod = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusRoleForMethod.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodSymbolFields.MethodRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodSymbolFields.ComponentRef), IntermediateFieldType.String), - }, - typeof(ComPlusRoleForMethodSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusRoleForMethodSymbolFields - { - MethodRef, - ApplicationRoleRef, - ComponentRef, - } - - public class ComPlusRoleForMethodSymbol : IntermediateSymbol - { - public ComPlusRoleForMethodSymbol() : base(ComPlusSymbolDefinitions.ComPlusRoleForMethod, null, null) - { - } - - public ComPlusRoleForMethodSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusRoleForMethod, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusRoleForMethodSymbolFields index] => this.Fields[(int)index]; - - public string MethodRef - { - get => this.Fields[(int)ComPlusRoleForMethodSymbolFields.MethodRef].AsString(); - set => this.Set((int)ComPlusRoleForMethodSymbolFields.MethodRef, value); - } - - public string ApplicationRoleRef - { - get => this.Fields[(int)ComPlusRoleForMethodSymbolFields.ApplicationRoleRef].AsString(); - set => this.Set((int)ComPlusRoleForMethodSymbolFields.ApplicationRoleRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusRoleForMethodSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusRoleForMethodSymbolFields.ComponentRef, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusSubscriptionPropertyTuple.cs b/src/wixext/Tuples/ComPlusSubscriptionPropertyTuple.cs deleted file mode 100644 index af995c3d..00000000 --- a/src/wixext/Tuples/ComPlusSubscriptionPropertyTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusSubscriptionProperty = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusSubscriptionProperty.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertySymbolFields.SubscriptionRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertySymbolFields.Name), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionPropertySymbolFields.Value), IntermediateFieldType.String), - }, - typeof(ComPlusSubscriptionPropertySymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusSubscriptionPropertySymbolFields - { - SubscriptionRef, - Name, - Value, - } - - public class ComPlusSubscriptionPropertySymbol : IntermediateSymbol - { - public ComPlusSubscriptionPropertySymbol() : base(ComPlusSymbolDefinitions.ComPlusSubscriptionProperty, null, null) - { - } - - public ComPlusSubscriptionPropertySymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusSubscriptionProperty, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusSubscriptionPropertySymbolFields index] => this.Fields[(int)index]; - - public string SubscriptionRef - { - get => this.Fields[(int)ComPlusSubscriptionPropertySymbolFields.SubscriptionRef].AsString(); - set => this.Set((int)ComPlusSubscriptionPropertySymbolFields.SubscriptionRef, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusSubscriptionPropertySymbolFields.Name].AsString(); - set => this.Set((int)ComPlusSubscriptionPropertySymbolFields.Name, value); - } - - public string Value - { - get => this.Fields[(int)ComPlusSubscriptionPropertySymbolFields.Value].AsString(); - set => this.Set((int)ComPlusSubscriptionPropertySymbolFields.Value, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusSubscriptionTuple.cs b/src/wixext/Tuples/ComPlusSubscriptionTuple.cs deleted file mode 100644 index 24d3f92e..00000000 --- a/src/wixext/Tuples/ComPlusSubscriptionTuple.cs +++ /dev/null @@ -1,95 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusSubscription = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusSubscription.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.Subscription), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.ComPlusComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.SubscriptionId), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.Name), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.EventCLSID), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusSubscriptionSymbolFields.PublisherID), IntermediateFieldType.String), - }, - typeof(ComPlusSubscriptionSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusSubscriptionSymbolFields - { - Subscription, - ComPlusComponentRef, - ComponentRef, - SubscriptionId, - Name, - EventCLSID, - PublisherID, - } - - public class ComPlusSubscriptionSymbol : IntermediateSymbol - { - public ComPlusSubscriptionSymbol() : base(ComPlusSymbolDefinitions.ComPlusSubscription, null, null) - { - } - - public ComPlusSubscriptionSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusSubscription, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusSubscriptionSymbolFields index] => this.Fields[(int)index]; - - public string Subscription - { - get => this.Fields[(int)ComPlusSubscriptionSymbolFields.Subscription].AsString(); - set => this.Set((int)ComPlusSubscriptionSymbolFields.Subscription, value); - } - - public string ComPlusComponentRef - { - get => this.Fields[(int)ComPlusSubscriptionSymbolFields.ComPlusComponentRef].AsString(); - set => this.Set((int)ComPlusSubscriptionSymbolFields.ComPlusComponentRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusSubscriptionSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusSubscriptionSymbolFields.ComponentRef, value); - } - - public string SubscriptionId - { - get => this.Fields[(int)ComPlusSubscriptionSymbolFields.SubscriptionId].AsString(); - set => this.Set((int)ComPlusSubscriptionSymbolFields.SubscriptionId, value); - } - - public string Name - { - get => this.Fields[(int)ComPlusSubscriptionSymbolFields.Name].AsString(); - set => this.Set((int)ComPlusSubscriptionSymbolFields.Name, value); - } - - public string EventCLSID - { - get => this.Fields[(int)ComPlusSubscriptionSymbolFields.EventCLSID].AsString(); - set => this.Set((int)ComPlusSubscriptionSymbolFields.EventCLSID, value); - } - - public string PublisherID - { - get => this.Fields[(int)ComPlusSubscriptionSymbolFields.PublisherID].AsString(); - set => this.Set((int)ComPlusSubscriptionSymbolFields.PublisherID, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusTupleDefinitions.cs b/src/wixext/Tuples/ComPlusTupleDefinitions.cs deleted file mode 100644 index 407b9c14..00000000 --- a/src/wixext/Tuples/ComPlusTupleDefinitions.cs +++ /dev/null @@ -1,135 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using System; - using WixToolset.Data; - - public enum ComPlusSymbolDefinitionType - { - ComPlusApplication, - ComPlusApplicationProperty, - ComPlusApplicationRole, - ComPlusApplicationRoleProperty, - ComPlusAssembly, - ComPlusAssemblyDependency, - ComPlusComponent, - ComPlusComponentProperty, - ComPlusGroupInApplicationRole, - ComPlusGroupInPartitionRole, - ComPlusInterface, - ComPlusInterfaceProperty, - ComPlusMethod, - ComPlusMethodProperty, - ComPlusPartition, - ComPlusPartitionProperty, - ComPlusPartitionRole, - ComPlusPartitionUser, - ComPlusRoleForComponent, - ComPlusRoleForInterface, - ComPlusRoleForMethod, - ComPlusSubscription, - ComPlusSubscriptionProperty, - ComPlusUserInApplicationRole, - ComPlusUserInPartitionRole, - } - - public static partial class ComPlusSymbolDefinitions - { - public static readonly Version Version = new Version("4.0.0"); - - public static IntermediateSymbolDefinition ByName(string name) - { - if (!Enum.TryParse(name, out ComPlusSymbolDefinitionType type)) - { - return null; - } - - return ByType(type); - } - - public static IntermediateSymbolDefinition ByType(ComPlusSymbolDefinitionType type) - { - switch (type) - { - case ComPlusSymbolDefinitionType.ComPlusApplication: - return ComPlusSymbolDefinitions.ComPlusApplication; - - case ComPlusSymbolDefinitionType.ComPlusApplicationProperty: - return ComPlusSymbolDefinitions.ComPlusApplicationProperty; - - case ComPlusSymbolDefinitionType.ComPlusApplicationRole: - return ComPlusSymbolDefinitions.ComPlusApplicationRole; - - case ComPlusSymbolDefinitionType.ComPlusApplicationRoleProperty: - return ComPlusSymbolDefinitions.ComPlusApplicationRoleProperty; - - case ComPlusSymbolDefinitionType.ComPlusAssembly: - return ComPlusSymbolDefinitions.ComPlusAssembly; - - case ComPlusSymbolDefinitionType.ComPlusAssemblyDependency: - return ComPlusSymbolDefinitions.ComPlusAssemblyDependency; - - case ComPlusSymbolDefinitionType.ComPlusComponent: - return ComPlusSymbolDefinitions.ComPlusComponent; - - case ComPlusSymbolDefinitionType.ComPlusComponentProperty: - return ComPlusSymbolDefinitions.ComPlusComponentProperty; - - case ComPlusSymbolDefinitionType.ComPlusGroupInApplicationRole: - return ComPlusSymbolDefinitions.ComPlusGroupInApplicationRole; - - case ComPlusSymbolDefinitionType.ComPlusGroupInPartitionRole: - return ComPlusSymbolDefinitions.ComPlusGroupInPartitionRole; - - case ComPlusSymbolDefinitionType.ComPlusInterface: - return ComPlusSymbolDefinitions.ComPlusInterface; - - case ComPlusSymbolDefinitionType.ComPlusInterfaceProperty: - return ComPlusSymbolDefinitions.ComPlusInterfaceProperty; - - case ComPlusSymbolDefinitionType.ComPlusMethod: - return ComPlusSymbolDefinitions.ComPlusMethod; - - case ComPlusSymbolDefinitionType.ComPlusMethodProperty: - return ComPlusSymbolDefinitions.ComPlusMethodProperty; - - case ComPlusSymbolDefinitionType.ComPlusPartition: - return ComPlusSymbolDefinitions.ComPlusPartition; - - case ComPlusSymbolDefinitionType.ComPlusPartitionProperty: - return ComPlusSymbolDefinitions.ComPlusPartitionProperty; - - case ComPlusSymbolDefinitionType.ComPlusPartitionRole: - return ComPlusSymbolDefinitions.ComPlusPartitionRole; - - case ComPlusSymbolDefinitionType.ComPlusPartitionUser: - return ComPlusSymbolDefinitions.ComPlusPartitionUser; - - case ComPlusSymbolDefinitionType.ComPlusRoleForComponent: - return ComPlusSymbolDefinitions.ComPlusRoleForComponent; - - case ComPlusSymbolDefinitionType.ComPlusRoleForInterface: - return ComPlusSymbolDefinitions.ComPlusRoleForInterface; - - case ComPlusSymbolDefinitionType.ComPlusRoleForMethod: - return ComPlusSymbolDefinitions.ComPlusRoleForMethod; - - case ComPlusSymbolDefinitionType.ComPlusSubscription: - return ComPlusSymbolDefinitions.ComPlusSubscription; - - case ComPlusSymbolDefinitionType.ComPlusSubscriptionProperty: - return ComPlusSymbolDefinitions.ComPlusSubscriptionProperty; - - case ComPlusSymbolDefinitionType.ComPlusUserInApplicationRole: - return ComPlusSymbolDefinitions.ComPlusUserInApplicationRole; - - case ComPlusSymbolDefinitionType.ComPlusUserInPartitionRole: - return ComPlusSymbolDefinitions.ComPlusUserInPartitionRole; - - default: - throw new ArgumentOutOfRangeException(nameof(type)); - } - } - } -} diff --git a/src/wixext/Tuples/ComPlusUserInApplicationRoleTuple.cs b/src/wixext/Tuples/ComPlusUserInApplicationRoleTuple.cs deleted file mode 100644 index 1f2e01b2..00000000 --- a/src/wixext/Tuples/ComPlusUserInApplicationRoleTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusUserInApplicationRole = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusUserInApplicationRole.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleSymbolFields.ApplicationRoleRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusUserInApplicationRoleSymbolFields.UserRef), IntermediateFieldType.String), - }, - typeof(ComPlusUserInApplicationRoleSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusUserInApplicationRoleSymbolFields - { - ApplicationRoleRef, - ComponentRef, - UserRef, - } - - public class ComPlusUserInApplicationRoleSymbol : IntermediateSymbol - { - public ComPlusUserInApplicationRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusUserInApplicationRole, null, null) - { - } - - public ComPlusUserInApplicationRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusUserInApplicationRole, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusUserInApplicationRoleSymbolFields index] => this.Fields[(int)index]; - - public string ApplicationRoleRef - { - get => this.Fields[(int)ComPlusUserInApplicationRoleSymbolFields.ApplicationRoleRef].AsString(); - set => this.Set((int)ComPlusUserInApplicationRoleSymbolFields.ApplicationRoleRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusUserInApplicationRoleSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusUserInApplicationRoleSymbolFields.ComponentRef, value); - } - - public string UserRef - { - get => this.Fields[(int)ComPlusUserInApplicationRoleSymbolFields.UserRef].AsString(); - set => this.Set((int)ComPlusUserInApplicationRoleSymbolFields.UserRef, value); - } - } -} \ No newline at end of file diff --git a/src/wixext/Tuples/ComPlusUserInPartitionRoleTuple.cs b/src/wixext/Tuples/ComPlusUserInPartitionRoleTuple.cs deleted file mode 100644 index 10df94bf..00000000 --- a/src/wixext/Tuples/ComPlusUserInPartitionRoleTuple.cs +++ /dev/null @@ -1,63 +0,0 @@ -// 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. - -namespace WixToolset.ComPlus -{ - using WixToolset.Data; - using WixToolset.ComPlus.Symbols; - - public static partial class ComPlusSymbolDefinitions - { - public static readonly IntermediateSymbolDefinition ComPlusUserInPartitionRole = new IntermediateSymbolDefinition( - ComPlusSymbolDefinitionType.ComPlusUserInPartitionRole.ToString(), - new[] - { - new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleSymbolFields.PartitionRoleRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleSymbolFields.ComponentRef), IntermediateFieldType.String), - new IntermediateFieldDefinition(nameof(ComPlusUserInPartitionRoleSymbolFields.UserRef), IntermediateFieldType.String), - }, - typeof(ComPlusUserInPartitionRoleSymbol)); - } -} - -namespace WixToolset.ComPlus.Symbols -{ - using WixToolset.Data; - - public enum ComPlusUserInPartitionRoleSymbolFields - { - PartitionRoleRef, - ComponentRef, - UserRef, - } - - public class ComPlusUserInPartitionRoleSymbol : IntermediateSymbol - { - public ComPlusUserInPartitionRoleSymbol() : base(ComPlusSymbolDefinitions.ComPlusUserInPartitionRole, null, null) - { - } - - public ComPlusUserInPartitionRoleSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusSymbolDefinitions.ComPlusUserInPartitionRole, sourceLineNumber, id) - { - } - - public IntermediateField this[ComPlusUserInPartitionRoleSymbolFields index] => this.Fields[(int)index]; - - public string PartitionRoleRef - { - get => this.Fields[(int)ComPlusUserInPartitionRoleSymbolFields.PartitionRoleRef].AsString(); - set => this.Set((int)ComPlusUserInPartitionRoleSymbolFields.PartitionRoleRef, value); - } - - public string ComponentRef - { - get => this.Fields[(int)ComPlusUserInPartitionRoleSymbolFields.ComponentRef].AsString(); - set => this.Set((int)ComPlusUserInPartitionRoleSymbolFields.ComponentRef, value); - } - - public string UserRef - { - get => this.Fields[(int)ComPlusUserInPartitionRoleSymbolFields.UserRef].AsString(); - set => this.Set((int)ComPlusUserInPartitionRoleSymbolFields.UserRef, value); - } - } -} \ No newline at end of file -- cgit v1.2.3-55-g6feb