[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) uint nonceCount)
: base (scheme, parameters) : base (scheme, parameters)
{ {
Parameters["username"] = credentials.UserName; Parameters["username"] = credentials.Username;
Parameters["password"] = credentials.Password; Parameters["password"] = credentials.Password;
Parameters["uri"] = credentials.Domain; Parameters["uri"] = credentials.Domain;
_nonceCount = nonceCount; _nonceCount = nonceCount;

View File

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