diff options
Diffstat (limited to 'src/test/Example.Extension/ExampleRow.cs')
-rw-r--r-- | src/test/Example.Extension/ExampleRow.cs | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/test/Example.Extension/ExampleRow.cs b/src/test/Example.Extension/ExampleRow.cs new file mode 100644 index 00000000..fc20c6c9 --- /dev/null +++ b/src/test/Example.Extension/ExampleRow.cs | |||
@@ -0,0 +1,32 @@ | |||
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 Example.Extension | ||
4 | { | ||
5 | using WixToolset.Data; | ||
6 | using WixToolset.Data.WindowsInstaller; | ||
7 | |||
8 | public class ExampleRow : Row | ||
9 | { | ||
10 | public ExampleRow(SourceLineNumber sourceLineNumbers, Table table) | ||
11 | : base(sourceLineNumbers, table) | ||
12 | { | ||
13 | } | ||
14 | |||
15 | public ExampleRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) | ||
16 | : base(sourceLineNumbers, tableDefinition) | ||
17 | { | ||
18 | } | ||
19 | |||
20 | public string Example | ||
21 | { | ||
22 | get { return (string)this.Fields[0].Data; } | ||
23 | set { this.Fields[0].Data = value; } | ||
24 | } | ||
25 | |||
26 | public string Value | ||
27 | { | ||
28 | get { return (string)this.Fields[1].Data; } | ||
29 | set { this.Fields[1].Data = value; } | ||
30 | } | ||
31 | } | ||
32 | } | ||