Skip to content

Commit d398cb3

Browse files
committed
Release v1.4.9.0 (publishing)
1 parent 7cc0dc0 commit d398cb3

10 files changed

Lines changed: 31 additions & 2 deletions

File tree

Binary file not shown.
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Source/src/WixSharp.Samples/WixSharp.xml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4155,6 +4155,16 @@
41554155
<param name="value">The value of the added element.</param>
41564156
<returns></returns>
41574157
</member>
4158+
<member name="M:WixSharp.Extensions.SetElementValue(System.Xml.Linq.XElement,System.String,System.String,System.String)">
4159+
<summary>
4160+
Sets the value of the first child element (with 'elementName'). If the element s not found then it is created.
4161+
</summary>
4162+
<param name="obj">The object.</param>
4163+
<param name="elementName">Name of the element.</param>
4164+
<param name="attributesDefinition">The attributes definition.</param>
4165+
<param name="value">The value.</param>
4166+
<returns></returns>
4167+
</member>
41584168
<member name="M:WixSharp.Extensions.IsAbsolutePath(System.String)">
41594169
<summary>
41604170
Determines whether the string is an absolute path.
@@ -4915,7 +4925,17 @@
49154925
<param name="newParent">The new parent.</param>
49164926
<returns></returns>
49174927
</member>
4918-
<!-- Badly formed XML comment ignored for member "M:WixSharp.Extensions.SelectOrCreate(System.Xml.Linq.XContainer,System.String)" -->
4928+
<member name="M:WixSharp.Extensions.SelectOrCreate(System.Xml.Linq.XContainer,System.String)">
4929+
<summary>
4930+
Selects, from the given element, the child element matching the specified path.
4931+
<para> If the child element is not found, a new element is created matching the
4932+
path (e.g. <c>SelectOrCreate("userSettings/MyApp.Properties.Settings/setting")</c>).
4933+
</para>
4934+
</summary>
4935+
<param name="element">The element to be searched.</param>
4936+
<param name="path">The path.</param>
4937+
<returns>The element matching the path.</returns>
4938+
</member>
49194939
<member name="M:WixSharp.Extensions.ToWString(Microsoft.Win32.RegistryHive)">
49204940
<summary>
49214941
Gets WiX compatible string representation (e.g. HKCR, HKLM).

Source/src/WixSharp/Extensions.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,14 @@ public static XElement AddElement(this XElement obj, string elementName, string
164164
return result;
165165
}
166166

167+
/// <summary>
168+
/// Sets the value of the first child element (with 'elementName'). If the element s not found then it is created.
169+
/// </summary>
170+
/// <param name="obj">The object.</param>
171+
/// <param name="elementName">Name of the element.</param>
172+
/// <param name="attributesDefinition">The attributes definition.</param>
173+
/// <param name="value">The value.</param>
174+
/// <returns></returns>
167175
public static XElement SetElementValue(this XElement obj, string elementName, string attributesDefinition, string value)
168176
{
169177
var result = obj.Select(elementName);
@@ -1638,8 +1646,9 @@ public static XElement MoveTo(this XElement element, XElement newParent)
16381646

16391647
/// <summary>
16401648
/// Selects, from the given element, the child element matching the specified path.
1641-
/// <para>If the child element is not found, a new element is created matching the
1649+
/// <para> If the child element is not found, a new element is created matching the
16421650
/// path (e.g. <c>SelectOrCreate("userSettings/MyApp.Properties.Settings/setting")</c>).
1651+
/// </para>
16431652
/// </summary>
16441653
/// <param name="element">The element to be searched.</param>
16451654
/// <param name="path">The path.</param>

0 commit comments

Comments
 (0)