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
|
// 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 _TransformView = new IntermediateTupleDefinition(
TupleDefinitionType._TransformView,
new[]
{
new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Table), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Column), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Row), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Data), IntermediateFieldType.String),
new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Current), IntermediateFieldType.String),
},
typeof(_TransformViewTuple));
}
}
namespace WixToolset.Data.Tuples
{
public enum _TransformViewTupleFields
{
Table,
Column,
Row,
Data,
Current,
}
public class _TransformViewTuple : IntermediateTuple
{
public _TransformViewTuple() : base(TupleDefinitions._TransformView, null, null)
{
}
public _TransformViewTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions._TransformView, sourceLineNumber, id)
{
}
public IntermediateField this[_TransformViewTupleFields index] => this.Fields[(int)index];
public string Table
{
get => (string)this.Fields[(int)_TransformViewTupleFields.Table]?.Value;
set => this.Set((int)_TransformViewTupleFields.Table, value);
}
public string Column
{
get => (string)this.Fields[(int)_TransformViewTupleFields.Column]?.Value;
set => this.Set((int)_TransformViewTupleFields.Column, value);
}
public string Row
{
get => (string)this.Fields[(int)_TransformViewTupleFields.Row]?.Value;
set => this.Set((int)_TransformViewTupleFields.Row, value);
}
public string Data
{
get => (string)this.Fields[(int)_TransformViewTupleFields.Data]?.Value;
set => this.Set((int)_TransformViewTupleFields.Data, value);
}
public string Current
{
get => (string)this.Fields[(int)_TransformViewTupleFields.Current]?.Value;
set => this.Set((int)_TransformViewTupleFields.Current, value);
}
}
}
|