[Modify] Replace it
This commit is contained in:
parent
4c6bc00341
commit
f9be77d0f7
@ -194,11 +194,12 @@ namespace WebSocketSharp.Net
|
||||
/// </exception>
|
||||
public bool Contains (string uriPrefix)
|
||||
{
|
||||
if (_listener.IsDisposed)
|
||||
throw new ObjectDisposedException (_listener.GetType ().ToString ());
|
||||
|
||||
if (uriPrefix == null)
|
||||
throw new ArgumentNullException ("uriPrefix");
|
||||
|
||||
_listener.CheckDisposed ();
|
||||
|
||||
return _prefixes.Contains (uriPrefix);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user