[Modify] Edit it

This commit is contained in:
sta 2017-01-25 15:59:38 +09:00
parent c70ec7f96d
commit f5ebe3730d

View File

@ -908,22 +908,25 @@ namespace WebSocketSharp
}
/// <summary>
/// Tries to create a <see cref="Uri"/> for WebSocket with
/// Tries to create a new <see cref="Uri"/> for WebSocket with
/// the specified <paramref name="uriString"/>.
/// </summary>
/// <returns>
/// <c>true</c> if a <see cref="Uri"/> is successfully created; otherwise, <c>false</c>.
/// <c>true</c> if the <see cref="Uri"/> was successfully created;
/// otherwise, <c>false</c>.
/// </returns>
/// <param name="uriString">
/// A <see cref="string"/> that represents a WebSocket URL to try.
/// </param>
/// <param name="result">
/// When this method returns, a <see cref="Uri"/> that represents a WebSocket URL,
/// or <see langword="null"/> if <paramref name="uriString"/> is invalid.
/// When this method returns, a <see cref="Uri"/> that
/// represents the WebSocket URL or <see langword="null"/>
/// if <paramref name="uriString"/> is invalid.
/// </param>
/// <param name="message">
/// When this method returns, a <see cref="string"/> that represents an error message,
/// or <see cref="String.Empty"/> if <paramref name="uriString"/> is valid.
/// When this method returns, a <see cref="string"/> that
/// represents an error message or <see langword="null"/>
/// if <paramref name="uriString"/> is valid.
/// </param>
internal static bool TryCreateWebSocketUri (
this string uriString, out Uri result, out string message