1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-14 01:42:55 +00:00

Cleaning/docs

This commit is contained in:
JKorf
2018-11-26 16:15:10 +01:00
parent 60f3696db1
commit 009ae3a45d
5 changed files with 149 additions and 22 deletions
+11
View File
@@ -31,6 +31,12 @@ namespace CryptoExchange.Net
parameters.Add(key, value);
}
/// <summary>
/// Create a query string of the specified parameters
/// </summary>
/// <param name="parameters">The parameters to use</param>
/// <param name="urlEncodeValues">Whether or not the values should be url encoded</param>
/// <returns></returns>
public static string CreateParamString(this Dictionary<string, object> parameters, bool urlEncodeValues)
{
var uriString = "";
@@ -45,6 +51,11 @@ namespace CryptoExchange.Net
return uriString;
}
/// <summary>
/// Get the string the secure string is representing
/// </summary>
/// <param name="source">The source secure string</param>
/// <returns></returns>
public static string GetString(this SecureString source)
{
lock (source)