diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-08 11:46:38 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-08 14:23:11 +1000 |
| commit | d8ef78a2b67d15d0bbd09d10e920b38d36c34435 (patch) | |
| tree | 09870ce0399dfcd0d4710c261f6c5d7930ca3c41 /src/wixext/Tuples/ComPlusMethodTuple.cs | |
| parent | 70be1d502423a22df7f28cc283761434d3a0eeaa (diff) | |
| download | wix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.tar.gz wix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.tar.bz2 wix-d8ef78a2b67d15d0bbd09d10e920b38d36c34435.zip | |
Modernize ComPlusCompiler and tuples.
Diffstat (limited to 'src/wixext/Tuples/ComPlusMethodTuple.cs')
| -rw-r--r-- | src/wixext/Tuples/ComPlusMethodTuple.cs | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/src/wixext/Tuples/ComPlusMethodTuple.cs b/src/wixext/Tuples/ComPlusMethodTuple.cs index bcca034a..c2fdada7 100644 --- a/src/wixext/Tuples/ComPlusMethodTuple.cs +++ b/src/wixext/Tuples/ComPlusMethodTuple.cs | |||
| @@ -11,8 +11,7 @@ namespace WixToolset.ComPlus | |||
| 11 | ComPlusTupleDefinitionType.ComPlusMethod.ToString(), | 11 | ComPlusTupleDefinitionType.ComPlusMethod.ToString(), |
| 12 | new[] | 12 | new[] |
| 13 | { | 13 | { |
| 14 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Method), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.InterfaceRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Interface_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Index), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Index), IntermediateFieldType.Number), |
| 17 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Name), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(ComPlusMethodTupleFields.Name), IntermediateFieldType.String), |
| 18 | }, | 17 | }, |
| @@ -26,8 +25,7 @@ namespace WixToolset.ComPlus.Tuples | |||
| 26 | 25 | ||
| 27 | public enum ComPlusMethodTupleFields | 26 | public enum ComPlusMethodTupleFields |
| 28 | { | 27 | { |
| 29 | Method, | 28 | InterfaceRef, |
| 30 | Interface_, | ||
| 31 | Index, | 29 | Index, |
| 32 | Name, | 30 | Name, |
| 33 | } | 31 | } |
| @@ -44,16 +42,10 @@ namespace WixToolset.ComPlus.Tuples | |||
| 44 | 42 | ||
| 45 | public IntermediateField this[ComPlusMethodTupleFields index] => this.Fields[(int)index]; | 43 | public IntermediateField this[ComPlusMethodTupleFields index] => this.Fields[(int)index]; |
| 46 | 44 | ||
| 47 | public string Method | 45 | public string InterfaceRef |
| 48 | { | 46 | { |
| 49 | get => this.Fields[(int)ComPlusMethodTupleFields.Method].AsString(); | 47 | get => this.Fields[(int)ComPlusMethodTupleFields.InterfaceRef].AsString(); |
| 50 | set => this.Set((int)ComPlusMethodTupleFields.Method, value); | 48 | set => this.Set((int)ComPlusMethodTupleFields.InterfaceRef, value); |
| 51 | } | ||
| 52 | |||
| 53 | public string Interface_ | ||
| 54 | { | ||
| 55 | get => this.Fields[(int)ComPlusMethodTupleFields.Interface_].AsString(); | ||
| 56 | set => this.Set((int)ComPlusMethodTupleFields.Interface_, value); | ||
| 57 | } | 49 | } |
| 58 | 50 | ||
| 59 | public int Index | 51 | public int Index |
