[Modify] Rename it

This commit is contained in:
sta 2017-05-01 16:17:23 +09:00
parent 0f25f3cef2
commit 007ec8879c
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ namespace WebSocketSharp.Net
uint nonceCount)
: base (scheme, parameters)
{
Parameters["username"] = credentials.UserName;
Parameters["username"] = credentials.Username;
Parameters["password"] = credentials.Password;
Parameters["uri"] = credentials.Domain;
_nonceCount = nonceCount;

View File

@ -194,7 +194,7 @@ namespace WebSocketSharp.Net
/// <value>
/// A <see cref="string"/> that represents the username.
/// </value>
public string UserName {
public string Username {
get {
return _username;
}