aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/WindowsInstaller/Rows
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-18 13:53:54 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-18 21:25:30 +1000
commit1c933963d1354495d4a31a08baf7f1240b5fbfce (patch)
treef2190fc0336f57d3c6b408e1a5d57b0b9c343092 /src/WixToolset.Data/WindowsInstaller/Rows
parent2b3c14c790e8a95edabecf2d7bb50baa58d8e95b (diff)
downloadwix-1c933963d1354495d4a31a08baf7f1240b5fbfce.tar.gz
wix-1c933963d1354495d4a31a08baf7f1240b5fbfce.tar.bz2
wix-1c933963d1354495d4a31a08baf7f1240b5fbfce.zip
Add ability for an extension to have a custom strongly typed row during binding.
Remove some unused functionality in Table and Row. Use strongRowType in core tables.
Diffstat (limited to 'src/WixToolset.Data/WindowsInstaller/Rows')
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/BBControlRow.cs5
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/ComponentRow.cs5
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/ControlRow.cs5
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/MediaRow.cs5
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/PropertyRow.cs5
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/UpgradeRow.cs5
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs9
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixComplexReferenceRow.cs5
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs5
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs5
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixPropertyRow.cs5
11 files changed, 52 insertions, 7 deletions
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/BBControlRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/BBControlRow.cs
index bf962e73..20482560 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/BBControlRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/BBControlRow.cs
@@ -19,6 +19,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
19 { 19 {
20 } 20 }
21 21
22 public BBControlRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) :
23 base(sourceLineNumbers, tableDefinition)
24 {
25 }
26
22 /// <summary> 27 /// <summary>
23 /// Gets or sets the dialog of the Control row. 28 /// Gets or sets the dialog of the Control row.
24 /// </summary> 29 /// </summary>
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/ComponentRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/ComponentRow.cs
index 001703ee..b7836241 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/ComponentRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/ComponentRow.cs
@@ -19,6 +19,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
19 { 19 {
20 } 20 }
21 21
22 public ComponentRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) :
23 base(sourceLineNumbers, tableDefinition)
24 {
25 }
26
22 /// <summary> 27 /// <summary>
23 /// Gets or sets the identifier for this Component row. 28 /// Gets or sets the identifier for this Component row.
24 /// </summary> 29 /// </summary>
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/ControlRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/ControlRow.cs
index 95289dea..e0ae2de0 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/ControlRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/ControlRow.cs
@@ -19,6 +19,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
19 { 19 {
20 } 20 }
21 21
22 public ControlRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) :
23 base(sourceLineNumbers, tableDefinition)
24 {
25 }
26
22 /// <summary> 27 /// <summary>
23 /// Gets or sets the dialog of the Control row. 28 /// Gets or sets the dialog of the Control row.
24 /// </summary> 29 /// </summary>
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/MediaRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/MediaRow.cs
index b931632f..b8fa5e83 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/MediaRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/MediaRow.cs
@@ -17,6 +17,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
17 { 17 {
18 } 18 }
19 19
20 public MediaRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) :
21 base(sourceLineNumbers, tableDefinition)
22 {
23 }
24
20 /// <summary> 25 /// <summary>
21 /// Gets or sets the disk id for this media row. 26 /// Gets or sets the disk id for this media row.
22 /// </summary> 27 /// </summary>
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/PropertyRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/PropertyRow.cs
index 3aba5de6..b4212430 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/PropertyRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/PropertyRow.cs
@@ -17,6 +17,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
17 { 17 {
18 } 18 }
19 19
20 public PropertyRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) :
21 base(sourceLineNumbers, tableDefinition)
22 {
23 }
24
20 /// <summary> 25 /// <summary>
21 /// Gets and sets the property name for the row. 26 /// Gets and sets the property name for the row.
22 /// </summary> 27 /// </summary>
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/UpgradeRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/UpgradeRow.cs
index d757c8d3..dbbfa0f9 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/UpgradeRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/UpgradeRow.cs
@@ -17,6 +17,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
17 { 17 {
18 } 18 }
19 19
20 public UpgradeRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) :
21 base(sourceLineNumbers, tableDefinition)
22 {
23 }
24
20 /// <summary> 25 /// <summary>
21 /// Gets and sets the upgrade code for the row. 26 /// Gets and sets the upgrade code for the row.
22 /// </summary> 27 /// </summary>
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs
index f7bc784d..61240820 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/WixActionRow.cs
@@ -23,13 +23,8 @@ namespace WixToolset.Data.WindowsInstaller.Rows
23 { 23 {
24 } 24 }
25 25
26 /// <summary> 26 public WixActionRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) :
27 /// Instantiates an ActionRow by copying data from another ActionRow. 27 base(sourceLineNumbers, tableDefinition)
28 /// </summary>
29 /// <param name="source">The row the data is copied from.</param>
30 /// <remarks>The previous and next action collections are not copied.</remarks>
31 private WixActionRow(WixActionRow source)
32 : base(source)
33 { 28 {
34 } 29 }
35 30
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixComplexReferenceRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixComplexReferenceRow.cs
index 2abd7656..0e942724 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/WixComplexReferenceRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/WixComplexReferenceRow.cs
@@ -20,6 +20,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
20 { 20 {
21 } 21 }
22 22
23 public WixComplexReferenceRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition)
24 : base(sourceLineNumbers, tableDefinition)
25 {
26 }
27
23 /// <summary> 28 /// <summary>
24 /// Gets the parent type of the complex reference. 29 /// Gets the parent type of the complex reference.
25 /// </summary> 30 /// </summary>
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs
index e59df729..bbdbc6b6 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/WixGroupRow.cs
@@ -19,6 +19,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
19 { 19 {
20 } 20 }
21 21
22 public WixGroupRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition)
23 : base(sourceLineNumbers, tableDefinition)
24 {
25 }
26
22 /// <summary> 27 /// <summary>
23 /// Gets or sets the parent identifier of the complex reference. 28 /// Gets or sets the parent identifier of the complex reference.
24 /// </summary> 29 /// </summary>
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs
index b2a64356..29479147 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/WixMediaTemplateRow.cs
@@ -17,6 +17,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
17 { 17 {
18 } 18 }
19 19
20 public WixMediaTemplateRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition)
21 : base(sourceLineNumbers, tableDefinition)
22 {
23 }
24
20 /// <summary> 25 /// <summary>
21 /// Gets or sets the cabinet template name for this media template row. 26 /// Gets or sets the cabinet template name for this media template row.
22 /// </summary> 27 /// </summary>
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixPropertyRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixPropertyRow.cs
index 2f356b71..8a54d36e 100644
--- a/src/WixToolset.Data/WindowsInstaller/Rows/WixPropertyRow.cs
+++ b/src/WixToolset.Data/WindowsInstaller/Rows/WixPropertyRow.cs
@@ -18,6 +18,11 @@ namespace WixToolset.Data.WindowsInstaller.Rows
18 { 18 {
19 } 19 }
20 20
21 public WixPropertyRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinition) :
22 base(sourceLineNumbers, tableDefinition)
23 {
24 }
25
21 /// <summary> 26 /// <summary>
22 /// Gets and sets the id for this property row. 27 /// Gets and sets the id for this property row.
23 /// </summary> 28 /// </summary>