public string GetValue(string dataCode) { if (HeaderDict.ContainsKey(dataCode)) { return(HeaderDict[dataCode]); } return(string.Empty); }
public void SetValue(string dataCode, string value) { if (HeaderDict.ContainsKey(dataCode)) { HeaderDict[dataCode] = value; } else { HeaderDict.Add(dataCode, value); } }