1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
// 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.Data
{
using WixToolset.Data.Tuples;
public static partial class TupleDefinitions
{
public static readonly IntermediateTupleDefinition RemoveIniFile = new IntermediateTupleDefinition(
TupleDefinitionType.RemoveIniFile,
new[]
{
new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.RemoveIniFile), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.FileName), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.DirProperty), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.Section), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.Key), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.Value), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.Action), IntermediateFieldType.Number),
new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.ComponentRef), IntermediateFieldType.String),
},
typeof(RemoveIniFileTuple));
}
}
namespace WixToolset.Data.Tuples
{
public enum RemoveIniFileTupleFields
{
RemoveIniFile,
FileName,
DirProperty,
Section,
Key,
Value,
Action,
ComponentRef,
}
public class RemoveIniFileTuple : IntermediateTuple
{
public RemoveIniFileTuple() : base(TupleDefinitions.RemoveIniFile, null, null)
{
}
public RemoveIniFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RemoveIniFile, sourceLineNumber, id)
{
}
public IntermediateField this[RemoveIniFileTupleFields index] => this.Fields[(int)index];
public string RemoveIniFile
{
get => (string)this.Fields[(int)RemoveIniFileTupleFields.RemoveIniFile];
set => this.Set((int)RemoveIniFileTupleFields.RemoveIniFile, value);
}
public string FileName
{
get => (string)this.Fields[(int)RemoveIniFileTupleFields.FileName];
set => this.Set((int)RemoveIniFileTupleFields.FileName, value);
}
public string DirProperty
{
get => (string)this.Fields[(int)RemoveIniFileTupleFields.DirProperty];
set => this.Set((int)RemoveIniFileTupleFields.DirProperty, value);
}
public string Section
{
get => (string)this.Fields[(int)RemoveIniFileTupleFields.Section];
set => this.Set((int)RemoveIniFileTupleFields.Section, value);
}
public string Key
{
get => (string)this.Fields[(int)RemoveIniFileTupleFields.Key];
set => this.Set((int)RemoveIniFileTupleFields.Key, value);
}
public string Value
{
get => (string)this.Fields[(int)RemoveIniFileTupleFields.Value];
set => this.Set((int)RemoveIniFileTupleFields.Value, value);
}
public int Action
{
get => (int)this.Fields[(int)RemoveIniFileTupleFields.Action];
set => this.Set((int)RemoveIniFileTupleFields.Action, value);
}
public string ComponentRef
{
get => (string)this.Fields[(int)RemoveIniFileTupleFields.ComponentRef];
set => this.Set((int)RemoveIniFileTupleFields.ComponentRef, value);
}
}
}
|