[Modify] Polish it
This commit is contained in:
parent
4b75dab0dc
commit
0ceb093c3c
@ -1064,10 +1064,10 @@ namespace WebSocketSharp.Server
|
|||||||
/// <paramref name="path"/> is already in use.
|
/// <paramref name="path"/> is already in use.
|
||||||
/// </para>
|
/// </para>
|
||||||
/// </exception>
|
/// </exception>
|
||||||
public void AddWebSocketService<TBehaviorWithNew> (string path)
|
public void AddWebSocketService<TBehavior> (string path)
|
||||||
where TBehaviorWithNew : WebSocketBehavior, new ()
|
where TBehavior : WebSocketBehavior, new ()
|
||||||
{
|
{
|
||||||
_services.AddService<TBehaviorWithNew> (path, null);
|
_services.AddService<TBehavior> (path, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user