From 784ff0d225d6fbbcd5ad7b0bbfd936264a2dcbf0 Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 5 Nov 2016 17:33:58 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Server/WebSocketServer.cs | 27 +++++++++-------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/websocket-sharp/Server/WebSocketServer.cs b/websocket-sharp/Server/WebSocketServer.cs index 535439ec..b7374141 100644 --- a/websocket-sharp/Server/WebSocketServer.cs +++ b/websocket-sharp/Server/WebSocketServer.cs @@ -862,29 +862,22 @@ namespace WebSocketSharp.Server #region Public Methods /// - /// Adds a WebSocket service with the specified behavior, , - /// and . + /// Adds a WebSocket service with the specified behavior, + /// , and . /// - /// - /// - /// This method converts to URL-decoded string, - /// and removes '/' from tail end of . - /// - /// - /// returns an initialized specified typed - /// instance. - /// - /// /// - /// A that represents the absolute path to the service to add. + /// A that represents an absolute path to + /// the service. It will be converted to a URL-decoded string, + /// and will be removed '/' from tail end if any. /// /// - /// A Func<T> delegate that references the method used to initialize - /// a new specified typed instance (a new - /// instance). + /// A Func<TBehavior> delegate that invokes + /// the method used to create a new session instance for + /// the service. The method must create a new instance of + /// the specified behavior class and return it. /// /// - /// The type of the behavior of the service to add. The TBehavior must inherit + /// The type of the behavior for the service. It must inherit /// the class. /// public void AddWebSocketService (