From e31c0278965d73f116aa35951361eab100b9835b Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 4 Feb 2018 18:05:46 +0900 Subject: [PATCH] [Modify] Edit it --- websocket-sharp/Ext.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/websocket-sharp/Ext.cs b/websocket-sharp/Ext.cs index 28167466..4bf2a135 100644 --- a/websocket-sharp/Ext.cs +++ b/websocket-sharp/Ext.cs @@ -475,6 +475,28 @@ namespace WebSocketSharp return nameAndValue.GetValue (separator, false); } + /// + /// Gets the value from the specified string that contains a pair of + /// name and value separated by a character. + /// + /// + /// + /// A that represents the value. + /// + /// + /// if the value is not present. + /// + /// + /// + /// A that contains a pair of name and value. + /// + /// + /// A used to separate name and value. + /// + /// + /// A : true if unquotes the value; otherwise, + /// false. + /// internal static string GetValue ( this string nameAndValue, char separator, bool unquote )