aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Rows/WixBundleMspPackageRow.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/Rows/WixBundleMspPackageRow.cs')
-rw-r--r--src/WixToolset.Data/Rows/WixBundleMspPackageRow.cs99
1 files changed, 0 insertions, 99 deletions
diff --git a/src/WixToolset.Data/Rows/WixBundleMspPackageRow.cs b/src/WixToolset.Data/Rows/WixBundleMspPackageRow.cs
deleted file mode 100644
index eccf0aea..00000000
--- a/src/WixToolset.Data/Rows/WixBundleMspPackageRow.cs
+++ /dev/null
@@ -1,99 +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 ChainMspPackage table.
7 /// </summary>
8 public sealed class WixBundleMspPackageRow : Row
9 {
10 /// <summary>
11 /// Creates a ChainMspPackage 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 WixBundleMspPackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 base(sourceLineNumbers, tableDef)
17 {
18 }
19
20 /// <summary>
21 /// Creates a WixBundleMspPackage 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 WixBundleMspPackageRow(SourceLineNumber sourceLineNumbers, Table table) :
26 base(sourceLineNumbers, table)
27 {
28 }
29
30 /// <summary>
31 /// Gets or sets the foreign key identifier to the ChainPackage row.
32 /// </summary>
33 public string ChainPackageId
34 {
35 get { return (string)this.Fields[0].Data; }
36 set { this.Fields[0].Data = value; }
37 }
38
39 /// <summary>
40 /// Gets or sets the raw MSP attributes of a patch.
41 /// </summary>
42 public WixBundleMspPackageAttributes Attributes
43 {
44 get { return (WixBundleMspPackageAttributes)this.Fields[1].Data; }
45 set { this.Fields[1].Data = value; }
46 }
47
48 /// <summary>
49 /// Gets or sets the patch code.
50 /// </summary>
51 public string PatchCode
52 {
53 get { return (string)this.Fields[2].Data; }
54 set { this.Fields[2].Data = value; }
55 }
56
57 /// <summary>
58 /// Gets or sets the patch's manufacturer.
59 /// </summary>
60 public string Manufacturer
61 {
62 get { return (string)this.Fields[3].Data; }
63 set { this.Fields[3].Data = value; }
64 }
65
66 /// <summary>
67 /// Gets or sets the patch's xml.
68 /// </summary>
69 public string PatchXml
70 {
71 get { return (string)this.Fields[4].Data; }
72 set { this.Fields[4].Data = value; }
73 }
74
75 /// <summary>
76 /// Gets the display internal UI of a patch.
77 /// </summary>
78 public bool DisplayInternalUI
79 {
80 get { return 0 != (this.Attributes & WixBundleMspPackageAttributes.DisplayInternalUI); }
81 }
82
83 /// <summary>
84 /// Gets whether to slipstream the patch.
85 /// </summary>
86 public bool Slipstream
87 {
88 get { return 0 != (this.Attributes & WixBundleMspPackageAttributes.Slipstream); }
89 }
90
91 /// <summary>
92 /// Gets whether the patch targets an unspecified number of packages.
93 /// </summary>
94 public bool TargetUnspecified
95 {
96 get { return 0 != (this.Attributes & WixBundleMspPackageAttributes.TargetUnspecified); }
97 }
98 }
99}