コード例 #1
0
    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));
    }
コード例 #2
0
    private NameValueCollection CreateParams(FPSMemRecord record)
    {
        var keyVal = new NameValueCollection();

        foreach (var pair in record.Data())
        {
            keyVal.Add(pair.Key, pair.Value.ToString());
        }

        return(keyVal);
    }