Smrf.NodeXL.ExcelTemplate.TwitterSearchNetworkVertexMetricUtil.AddGraphMetricColumn C# (CSharp) Method

AddGraphMetricColumn() private static method

private static AddGraphMetricColumn ( List graphMetricValues, String graphMetricColumnName, List graphMetricColumns ) : void
graphMetricValues List
graphMetricColumnName String
graphMetricColumns List
return void
    AddGraphMetricColumn
    (
        List<GraphMetricValueWithID> graphMetricValues,
        String graphMetricColumnName,
        List<GraphMetricColumn> graphMetricColumns
    )
    {
        Debug.Assert(graphMetricValues != null);
        Debug.Assert( !String.IsNullOrEmpty(graphMetricColumnName) );
        Debug.Assert(graphMetricColumns != null);

        const String NumericFormat = "0";

        graphMetricColumns.Add( new GraphMetricColumnWithID(
            WorksheetNames.Vertices, TableNames.Vertices,
            graphMetricColumnName, ExcelTableUtil.AutoColumnWidth,
            NumericFormat, CellStyleNames.GraphMetricGood,
            graphMetricValues.ToArray() ) );
    }