Skip to content

AddOrAppend Method ​

Definition ​

  • Namespace: JASE.Extensions
  • Assembly: JASE.Primitives.dll

void AddOrAppend(Dictionary<string, string> input, string key, string value, bool newLine = null) ​

csharp
void AddOrAppend(Dictionary<string, string> input, string key, string value, bool newLine = null)

Adds key/value pair or updates existing key/value with additional data

Parameters ​

NameDescription
inputDictionary object
keykey name of key/value pair
newLine(Optional) Include newline before adding value, default is true
valuenew value