[Modify] To internal
This commit is contained in:
parent
b69ce394ff
commit
95bfb94048
@ -715,7 +715,7 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the value of the Version attribute of the cookie.
|
/// Gets the value of the Version attribute of the cookie.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>
|
/// <value>
|
||||||
/// <para>
|
/// <para>
|
||||||
@ -723,21 +723,18 @@ namespace WebSocketSharp.Net
|
|||||||
/// management that the cookie conforms to.
|
/// management that the cookie conforms to.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// 0 or 1.
|
/// 0 or 1. 0 if the cookie has no Version attribute.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// <para>
|
/// <para>
|
||||||
/// The default value is 0.
|
/// The default value is 0.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </value>
|
/// </value>
|
||||||
/// <exception cref="ArgumentOutOfRangeException">
|
|
||||||
/// The value specified for a set operation is not allowed.
|
|
||||||
/// </exception>
|
|
||||||
public int Version {
|
public int Version {
|
||||||
get {
|
get {
|
||||||
return _version;
|
return _version;
|
||||||
}
|
}
|
||||||
|
|
||||||
set {
|
internal set {
|
||||||
if (value < 0 || value > 1) {
|
if (value < 0 || value > 1) {
|
||||||
var msg = "It is not allowed.";
|
var msg = "It is not allowed.";
|
||||||
throw new ArgumentOutOfRangeException ("value", msg);
|
throw new ArgumentOutOfRangeException ("value", msg);
|
||||||
|
Loading…
Reference in New Issue
Block a user