src/Azos.Wave/WorkMatch.cs
/// <summary>
/// Joins NameValuePair sequence into a string list i.e. "a=1;b=2"
/// </summary>
Joins NameValuePair sequence into a string list i.e.
Joins NameValuePair sequence into a string list i . e .
public static string ToStringList(IEnumerable<NameValuePair> list)
                {
                  var result = new StringBuilder();
                  var first = true;
                  foreach(var pair in list)
                  {
                    result.Append("{0}={1}".Args(Uri.EscapeDataString(pair.Name), Uri.EscapeDataString(pair.Value)));
                    if (!first) result.Append(";");
                    first = false;
                  }
                  return result.ToString();
                }
public static string ToStringList ( IEnumerable < NameValuePair > list ) { var result = new StringBuilder ( ) ; var first = true ; foreach ( var pair in list ) { result . Append ( " " . Args ( Uri . EscapeDataString ( pair . Name ) , Uri . EscapeDataString ( pair . Value ) ) ) ; if ( ! first ) result . Append ( " " ) ; first = false ; } return result . ToString ( ) ; }
Joins NameValuePair sequence into a string list i.e.
Joins NameValuePair sequence into a string list i . e .
list
IEnumerable<NameValuePair>