diff options
Diffstat (limited to 'src/WixToolset.Data/WindowsInstaller/SubStorage.cs')
| -rw-r--r-- | src/WixToolset.Data/WindowsInstaller/SubStorage.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/WixToolset.Data/WindowsInstaller/SubStorage.cs b/src/WixToolset.Data/WindowsInstaller/SubStorage.cs index c1981f1b..6aae1dd8 100644 --- a/src/WixToolset.Data/WindowsInstaller/SubStorage.cs +++ b/src/WixToolset.Data/WindowsInstaller/SubStorage.cs | |||
| @@ -14,7 +14,7 @@ namespace WixToolset.Data.WindowsInstaller | |||
| 14 | /// </summary> | 14 | /// </summary> |
| 15 | /// <param name="name">The substorage name.</param> | 15 | /// <param name="name">The substorage name.</param> |
| 16 | /// <param name="data">The substorage data.</param> | 16 | /// <param name="data">The substorage data.</param> |
| 17 | public SubStorage(string name, Output data) | 17 | public SubStorage(string name, WindowsInstallerData data) |
| 18 | { | 18 | { |
| 19 | this.Name = name; | 19 | this.Name = name; |
| 20 | this.Data = data; | 20 | this.Data = data; |
| @@ -30,7 +30,7 @@ namespace WixToolset.Data.WindowsInstaller | |||
| 30 | /// Gets the substorage data. | 30 | /// Gets the substorage data. |
| 31 | /// </summary> | 31 | /// </summary> |
| 32 | /// <value>The substorage data.</value> | 32 | /// <value>The substorage data.</value> |
| 33 | public Output Data { get; } | 33 | public WindowsInstallerData Data { get; } |
| 34 | 34 | ||
| 35 | /// <summary> | 35 | /// <summary> |
| 36 | /// Creates a SubStorage from the XmlReader. | 36 | /// Creates a SubStorage from the XmlReader. |
| @@ -44,7 +44,7 @@ namespace WixToolset.Data.WindowsInstaller | |||
| 44 | throw new XmlException(); | 44 | throw new XmlException(); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | Output data = null; | 47 | WindowsInstallerData data = null; |
| 48 | bool empty = reader.IsEmptyElement; | 48 | bool empty = reader.IsEmptyElement; |
| 49 | string name = null; | 49 | string name = null; |
| 50 | 50 | ||
| @@ -69,8 +69,8 @@ namespace WixToolset.Data.WindowsInstaller | |||
| 69 | case XmlNodeType.Element: | 69 | case XmlNodeType.Element: |
| 70 | switch (reader.LocalName) | 70 | switch (reader.LocalName) |
| 71 | { | 71 | { |
| 72 | case "wixOutput": | 72 | case WindowsInstallerData.XmlElementName: |
| 73 | data = Output.Read(reader, true); | 73 | data = WindowsInstallerData.Read(reader, true); |
| 74 | break; | 74 | break; |
| 75 | default: | 75 | default: |
| 76 | throw new XmlException(); | 76 | throw new XmlException(); |
| @@ -97,7 +97,7 @@ namespace WixToolset.Data.WindowsInstaller | |||
| 97 | /// <param name="writer">XmlWriter where the SubStorage should persist itself as XML.</param> | 97 | /// <param name="writer">XmlWriter where the SubStorage should persist itself as XML.</param> |
| 98 | internal void Write(XmlWriter writer) | 98 | internal void Write(XmlWriter writer) |
| 99 | { | 99 | { |
| 100 | writer.WriteStartElement("subStorage", Output.XmlNamespaceUri); | 100 | writer.WriteStartElement("subStorage", WindowsInstallerData.XmlNamespaceUri); |
| 101 | 101 | ||
| 102 | writer.WriteAttributeString("name", this.Name); | 102 | writer.WriteAttributeString("name", this.Name); |
| 103 | 103 | ||
