private void Log(FPSMemRecord record) { string logString = ""; foreach (var pair in record.Data()) { logString += pair.Key + ": " + pair.Value.ToString() + ", "; } Debug.Log(logString.Substring(0, logString.Length - 2)); }
private NameValueCollection CreateParams(FPSMemRecord record) { var keyVal = new NameValueCollection(); foreach (var pair in record.Data()) { keyVal.Add(pair.Key, pair.Value.ToString()); } return(keyVal); }