Smrf.NodeXL.ExcelTemplate.GraphSummarizer.AppendGraphHistoryValues C# (CSharp) Method

AppendGraphHistoryValues() private static method

private static AppendGraphHistoryValues ( GraphHistory oGraphHistory, StringBuilder oStringBuilder ) : void
oGraphHistory GraphHistory
oStringBuilder StringBuilder
return void
    AppendGraphHistoryValues
    (
        GraphHistory oGraphHistory,
        StringBuilder oStringBuilder,
        params String [] asGraphHistoryKeys
    )
    {
        Debug.Assert(oGraphHistory != null);
        Debug.Assert(oStringBuilder != null);
        Debug.Assert(asGraphHistoryKeys != null);

        String sGraphHistoryValue;

        foreach (String sGraphHistoryKey in asGraphHistoryKeys)
        {
            if ( oGraphHistory.TryGetValue(sGraphHistoryKey,
                out sGraphHistoryValue) )
            {
                StringUtil.AppendLineAfterEmptyLine(oStringBuilder,
                    sGraphHistoryValue);
            }
        }
    }