aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Rows/WixChainRow.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/Rows/WixChainRow.cs')
-rw-r--r--src/WixToolset.Data/Rows/WixChainRow.cs63
1 files changed, 0 insertions, 63 deletions
diff --git a/src/WixToolset.Data/Rows/WixChainRow.cs b/src/WixToolset.Data/Rows/WixChainRow.cs
deleted file mode 100644
index 94600efa..00000000
--- a/src/WixToolset.Data/Rows/WixChainRow.cs
+++ /dev/null
@@ -1,63 +0,0 @@
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
3namespace WixToolset.Data.Rows
4{
5 /// <summary>
6 /// Specialization of a row for the WixChain table.
7 /// </summary>
8 public sealed class WixChainRow : Row
9 {
10 /// <summary>
11 /// Creates a WixChain row that does not belong to a table.
12 /// </summary>
13 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
14 /// <param name="tableDef">TableDefinition this row belongs to and should get its column definitions from.</param>
15 public WixChainRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 base(sourceLineNumbers, tableDef)
17 {
18 }
19
20 /// <summary>
21 /// Creates a WixChainRow row that belongs to a table.
22 /// </summary>
23 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
24 /// <param name="table">Table this row belongs to and should get its column definitions from.</param>
25 public WixChainRow(SourceLineNumber sourceLineNumbers, Table table) :
26 base(sourceLineNumbers, table)
27 {
28 }
29
30 /// <summary>
31 /// Gets or sets the raw chain attributes.
32 /// </summary>
33 public WixChainAttributes Attributes
34 {
35 get { return (WixChainAttributes)this.Fields[0].Data; }
36 set { this.Fields[0].Data = value; }
37 }
38
39 /// <summary>
40 /// Gets the disable rollback state of a chain.
41 /// </summary>
42 public bool DisableRollback
43 {
44 get { return 0 != (this.Attributes & WixChainAttributes.DisableRollback); }
45 }
46
47 /// <summary>
48 /// Gets disable system restore state of a chain.
49 /// </summary>
50 public bool DisableSystemRestore
51 {
52 get { return 0 != (this.Attributes & WixChainAttributes.DisableSystemRestore); }
53 }
54
55 /// <summary>
56 /// Gets parallel cache of a chain.
57 /// </summary>
58 public bool ParallelCache
59 {
60 get { return 0 != (this.Attributes & WixChainAttributes.ParallelCache); }
61 }
62 }
63}