[Modify] Move it

This commit is contained in:
sta 2019-03-01 21:55:20 +09:00
parent d732d88ba2
commit 789e779048

View File

@ -247,7 +247,9 @@ namespace WebSocketSharp.Net
#region Internal Properties #region Internal Properties
internal bool ExactDomain { internal bool ExactDomain {
get; set; get {
return _domain.Length == 0 || _domain[0] != '.';
}
} }
internal int MaxAge { internal int MaxAge {
@ -362,7 +364,6 @@ namespace WebSocketSharp.Net
set { set {
_domain = value ?? String.Empty; _domain = value ?? String.Empty;
ExactDomain = _domain.Length == 0 || _domain[0] != '.';
} }
} }