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