[Modify] To internal
This commit is contained in:
parent
9c952e3d4d
commit
4b39467cea
@ -589,7 +589,7 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the value of the Port attribute of the cookie.
|
/// Gets the value of the Port attribute of the cookie.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>
|
/// <value>
|
||||||
/// <para>
|
/// <para>
|
||||||
@ -597,30 +597,18 @@ namespace WebSocketSharp.Net
|
|||||||
/// that the cookie applies to.
|
/// that the cookie applies to.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// An empty string if this attribute is not needed.
|
/// An empty string if not present.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// The default value is an empty string.
|
/// The default value is an empty string.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </value>
|
/// </value>
|
||||||
/// <exception cref="ArgumentException">
|
|
||||||
/// <para>
|
|
||||||
/// The value specified for a set operation is not enclosed in
|
|
||||||
/// double quotes.
|
|
||||||
/// </para>
|
|
||||||
/// <para>
|
|
||||||
/// -or-
|
|
||||||
/// </para>
|
|
||||||
/// <para>
|
|
||||||
/// The value specified for a set operation could not be parsed.
|
|
||||||
/// </para>
|
|
||||||
/// </exception>
|
|
||||||
public string Port {
|
public string Port {
|
||||||
get {
|
get {
|
||||||
return _port ?? String.Empty;
|
return _port ?? String.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
set {
|
internal set {
|
||||||
if (value.IsNullOrEmpty ()) {
|
if (value.IsNullOrEmpty ()) {
|
||||||
_port = value;
|
_port = value;
|
||||||
_ports = null;
|
_ports = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user