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

AddGraphMetricValueForTopStringsByCount() private static method

private static AddGraphMetricValueForTopStringsByCount ( IEnumerable edges, String edgeColumnName, Int32 maximumTopStrings, Int32 vertexRowID, List graphMetricValues ) : void
edges IEnumerable
edgeColumnName String
maximumTopStrings System.Int32
vertexRowID System.Int32
graphMetricValues List
return void
    AddGraphMetricValueForTopStringsByCount
    (
        IEnumerable<IEdge> edges,
        String edgeColumnName,
        Int32 maximumTopStrings,
        Int32 vertexRowID,
        List<GraphMetricValueWithID> graphMetricValues
    )
    {
        Debug.Assert(edges != null);
        Debug.Assert( !String.IsNullOrEmpty(edgeColumnName) );
        Debug.Assert(maximumTopStrings > 0);
        Debug.Assert(graphMetricValues != null);

        String sTopStrings = ConcatenateTopStringsByCount(
            edges, edgeColumnName, maximumTopStrings);

        graphMetricValues.Add(
            new GraphMetricValueWithID(vertexRowID, sTopStrings) );
    }