diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2019-02-04 20:06:58 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2019-02-04 20:11:32 -0600 |
| commit | c239e0cc3a28a50c42c63b086ee62e17cf699104 (patch) | |
| tree | 5ba3e85a9bb1aef22a9162629b248a8e27e2c43f /src/wixext/Tuples/ComPlusRoleForMethodTuple.cs | |
| parent | cbc09b6cd6d0d0b8bf095a88d4d8333616637f71 (diff) | |
| download | wix-c239e0cc3a28a50c42c63b086ee62e17cf699104.tar.gz wix-c239e0cc3a28a50c42c63b086ee62e17cf699104.tar.bz2 wix-c239e0cc3a28a50c42c63b086ee62e17cf699104.zip | |
Integrate into latest v4.
Diffstat (limited to 'src/wixext/Tuples/ComPlusRoleForMethodTuple.cs')
| -rw-r--r-- | src/wixext/Tuples/ComPlusRoleForMethodTuple.cs | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/src/wixext/Tuples/ComPlusRoleForMethodTuple.cs b/src/wixext/Tuples/ComPlusRoleForMethodTuple.cs new file mode 100644 index 00000000..5b6e994e --- /dev/null +++ b/src/wixext/Tuples/ComPlusRoleForMethodTuple.cs | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. | ||
| 2 | |||
| 3 | namespace WixToolset.ComPlus | ||
| 4 | { | ||
| 5 | using WixToolset.Data; | ||
| 6 | using WixToolset.ComPlus.Tuples; | ||
| 7 | |||
| 8 | public static partial class ComPlusTupleDefinitions | ||
| 9 | { | ||
| 10 | public static readonly IntermediateTupleDefinition ComPlusRoleForMethod = new IntermediateTupleDefinition( | ||
| 11 | ComPlusTupleDefinitionType.ComPlusRoleForMethod.ToString(), | ||
| 12 | new[] | ||
| 13 | { | ||
| 14 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodTupleFields.RoleForMethod), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodTupleFields.Method_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodTupleFields.ApplicationRole_), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ComPlusRoleForMethodTupleFields.Component_), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ComPlusRoleForMethodTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.ComPlus.Tuples | ||
| 24 | { | ||
| 25 | using WixToolset.Data; | ||
| 26 | |||
| 27 | public enum ComPlusRoleForMethodTupleFields | ||
| 28 | { | ||
| 29 | RoleForMethod, | ||
| 30 | Method_, | ||
| 31 | ApplicationRole_, | ||
| 32 | Component_, | ||
| 33 | } | ||
| 34 | |||
| 35 | public class ComPlusRoleForMethodTuple : IntermediateTuple | ||
| 36 | { | ||
| 37 | public ComPlusRoleForMethodTuple() : base(ComPlusTupleDefinitions.ComPlusRoleForMethod, null, null) | ||
| 38 | { | ||
| 39 | } | ||
| 40 | |||
| 41 | public ComPlusRoleForMethodTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(ComPlusTupleDefinitions.ComPlusRoleForMethod, sourceLineNumber, id) | ||
| 42 | { | ||
| 43 | } | ||
| 44 | |||
| 45 | public IntermediateField this[ComPlusRoleForMethodTupleFields index] => this.Fields[(int)index]; | ||
| 46 | |||
| 47 | public string RoleForMethod | ||
| 48 | { | ||
| 49 | get => this.Fields[(int)ComPlusRoleForMethodTupleFields.RoleForMethod].AsString(); | ||
| 50 | set => this.Set((int)ComPlusRoleForMethodTupleFields.RoleForMethod, value); | ||
| 51 | } | ||
| 52 | |||
| 53 | public string Method_ | ||
| 54 | { | ||
| 55 | get => this.Fields[(int)ComPlusRoleForMethodTupleFields.Method_].AsString(); | ||
| 56 | set => this.Set((int)ComPlusRoleForMethodTupleFields.Method_, value); | ||
| 57 | } | ||
| 58 | |||
| 59 | public string ApplicationRole_ | ||
| 60 | { | ||
| 61 | get => this.Fields[(int)ComPlusRoleForMethodTupleFields.ApplicationRole_].AsString(); | ||
| 62 | set => this.Set((int)ComPlusRoleForMethodTupleFields.ApplicationRole_, value); | ||
| 63 | } | ||
| 64 | |||
| 65 | public string Component_ | ||
| 66 | { | ||
| 67 | get => this.Fields[(int)ComPlusRoleForMethodTupleFields.Component_].AsString(); | ||
| 68 | set => this.Set((int)ComPlusRoleForMethodTupleFields.Component_, value); | ||
| 69 | } | ||
| 70 | } | ||
| 71 | } \ No newline at end of file | ||
