diff options
Diffstat (limited to 'src/wixext/Tuples/IIsWebServiceExtensionTuple.cs')
-rw-r--r-- | src/wixext/Tuples/IIsWebServiceExtensionTuple.cs | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/src/wixext/Tuples/IIsWebServiceExtensionTuple.cs b/src/wixext/Tuples/IIsWebServiceExtensionTuple.cs new file mode 100644 index 00000000..a6fec797 --- /dev/null +++ b/src/wixext/Tuples/IIsWebServiceExtensionTuple.cs | |||
@@ -0,0 +1,87 @@ | |||
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.Iis | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.Iis.Tuples; | ||
7 | |||
8 | public static partial class IisTupleDefinitions | ||
9 | { | ||
10 | public static readonly IntermediateTupleDefinition IIsWebServiceExtension = new IntermediateTupleDefinition( | ||
11 | IisTupleDefinitionType.IIsWebServiceExtension.ToString(), | ||
12 | new[] | ||
13 | { | ||
14 | new IntermediateFieldDefinition(nameof(IIsWebServiceExtensionTupleFields.WebServiceExtension), IntermediateFieldType.String), | ||
15 | new IntermediateFieldDefinition(nameof(IIsWebServiceExtensionTupleFields.Component_), IntermediateFieldType.String), | ||
16 | new IntermediateFieldDefinition(nameof(IIsWebServiceExtensionTupleFields.File), IntermediateFieldType.String), | ||
17 | new IntermediateFieldDefinition(nameof(IIsWebServiceExtensionTupleFields.Description), IntermediateFieldType.String), | ||
18 | new IntermediateFieldDefinition(nameof(IIsWebServiceExtensionTupleFields.Group), IntermediateFieldType.String), | ||
19 | new IntermediateFieldDefinition(nameof(IIsWebServiceExtensionTupleFields.Attributes), IntermediateFieldType.Number), | ||
20 | }, | ||
21 | typeof(IIsWebServiceExtensionTuple)); | ||
22 | } | ||
23 | } | ||
24 | |||
25 | namespace WixToolset.Iis.Tuples | ||
26 | { | ||
27 | using WixToolset.Data; | ||
28 | |||
29 | public enum IIsWebServiceExtensionTupleFields | ||
30 | { | ||
31 | WebServiceExtension, | ||
32 | Component_, | ||
33 | File, | ||
34 | Description, | ||
35 | Group, | ||
36 | Attributes, | ||
37 | } | ||
38 | |||
39 | public class IIsWebServiceExtensionTuple : IntermediateTuple | ||
40 | { | ||
41 | public IIsWebServiceExtensionTuple() : base(IisTupleDefinitions.IIsWebServiceExtension, null, null) | ||
42 | { | ||
43 | } | ||
44 | |||
45 | public IIsWebServiceExtensionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(IisTupleDefinitions.IIsWebServiceExtension, sourceLineNumber, id) | ||
46 | { | ||
47 | } | ||
48 | |||
49 | public IntermediateField this[IIsWebServiceExtensionTupleFields index] => this.Fields[(int)index]; | ||
50 | |||
51 | public string WebServiceExtension | ||
52 | { | ||
53 | get => this.Fields[(int)IIsWebServiceExtensionTupleFields.WebServiceExtension].AsString(); | ||
54 | set => this.Set((int)IIsWebServiceExtensionTupleFields.WebServiceExtension, value); | ||
55 | } | ||
56 | |||
57 | public string Component_ | ||
58 | { | ||
59 | get => this.Fields[(int)IIsWebServiceExtensionTupleFields.Component_].AsString(); | ||
60 | set => this.Set((int)IIsWebServiceExtensionTupleFields.Component_, value); | ||
61 | } | ||
62 | |||
63 | public string File | ||
64 | { | ||
65 | get => this.Fields[(int)IIsWebServiceExtensionTupleFields.File].AsString(); | ||
66 | set => this.Set((int)IIsWebServiceExtensionTupleFields.File, value); | ||
67 | } | ||
68 | |||
69 | public string Description | ||
70 | { | ||
71 | get => this.Fields[(int)IIsWebServiceExtensionTupleFields.Description].AsString(); | ||
72 | set => this.Set((int)IIsWebServiceExtensionTupleFields.Description, value); | ||
73 | } | ||
74 | |||
75 | public string Group | ||
76 | { | ||
77 | get => this.Fields[(int)IIsWebServiceExtensionTupleFields.Group].AsString(); | ||
78 | set => this.Set((int)IIsWebServiceExtensionTupleFields.Group, value); | ||
79 | } | ||
80 | |||
81 | public int Attributes | ||
82 | { | ||
83 | get => this.Fields[(int)IIsWebServiceExtensionTupleFields.Attributes].AsNumber(); | ||
84 | set => this.Set((int)IIsWebServiceExtensionTupleFields.Attributes, value); | ||
85 | } | ||
86 | } | ||
87 | } \ No newline at end of file | ||