Smrf.NodeXL.ExcelTemplate.TaskPane.SelectAllVertices C# (CSharp) Method

SelectAllVertices() protected method

protected SelectAllVertices ( Boolean bSelect ) : void
bSelect Boolean
return void
    SelectAllVertices
    (
        Boolean bSelect
    )
    {
        AssertValid();

        oNodeXLControl.SetSelected(

            bSelect ? ( IEnumerable<IVertex> )oNodeXLControl.Graph.Vertices :
                ( IEnumerable<IVertex> )new IVertex[0],

            oNodeXLControl.SelectedEdges
            );
    }
TaskPane