Skip to content

Commit bfe8646

Browse files
committed
add XML docs
1 parent 52cb1bf commit bfe8646

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Microsoft.Toolkit.Uwp.UI/Extensions/StringExtensions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,12 @@ public static Quaternion ToQuaternion(this string text)
182182
static Quaternion Throw(string text) => throw new FormatException($"Cannot convert \"{text}\" to {nameof(Quaternion)}. Use the format \"float, float, float, float\"");
183183
}
184184

185+
/// <summary>
186+
/// Converts a angle bracketed <see cref="string"/> value to its unbracketed form (e.g. "&lt;float, float&gt;" to "float, float").
187+
/// If the value is already unbracketed, this method will return the value unchanged.
188+
/// </summary>
189+
/// <param name="text">A bracketed <see cref="string"/> value.</param>
190+
/// <returns>The unbracketed <see cref="string"/> value.</returns>
185191
private static string Unbracket(string text)
186192
{
187193
if (text.Length >= 2 &&

0 commit comments

Comments
 (0)