| 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 ComponentRef |
| 27 | { |
| 28 | get { return (string)this.Fields[1].Data; } |
| 29 | set { this.Fields[1].Data = value; } |
| 30 | } |
| 31 | |
| 32 | public string Value |
| 33 | { |
| 34 | get { return (string)this.Fields[2].Data; } |
| 35 | set { this.Fields[2].Data = value; } |
| 36 | } |
| 37 | } |
| 38 | } |