[Modify] Polish it
This commit is contained in:
parent
063aae69b3
commit
c8de370195
@ -190,10 +190,11 @@ namespace WebSocketSharp.Net
|
||||
/// </exception>
|
||||
public bool Contains (string uriPrefix)
|
||||
{
|
||||
_listener.CheckDisposed ();
|
||||
if (uriPrefix == null)
|
||||
throw new ArgumentNullException ("uriPrefix");
|
||||
|
||||
_listener.CheckDisposed ();
|
||||
|
||||
return _prefixes.Contains (uriPrefix);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user