Provides event information for events involving an edge.
Наследование: System.EventArgs
    SetUp()
    {
        IVertex oVertex1 = new Vertex();
        IVertex oVertex2 = new Vertex();

        IGraph oGraph = new Graph();

        oGraph.Vertices.Add(oVertex1);
        oGraph.Vertices.Add(oVertex2);

        m_oEdge = new Edge(oVertex1, oVertex2, true);

        m_oEdgeEventArgs = new EdgeEventArgs(m_oEdge);
    }
    EdgeCollection_EdgeRemoved
    (
        Object oSender,
        EdgeEventArgs oEdgeEventArgs
    )
    {
        if ( oSender == null || !(oSender is EdgeCollection) )
        {
            throw new ApplicationException(
                "EdgeRemoved event provided incorrect oSender argument."
                );
        }

        m_bEdgeRemoved = true;

        m_oRemovedEdge = oEdgeEventArgs.Edge;
    }
    TestConstructorBad()
    {
        // Null argument.

        try
        {
            m_oEdgeEventArgs = new EdgeEventArgs(null);
        }
        catch (ArgumentNullException oArgumentNullException)
        {
            Assert.AreEqual(

                "Smrf.NodeXL.Core."
                + "EdgeEventArgs.Constructor: edge argument can't be null.\r\n"
                + "Parameter name: edge"
                ,
                oArgumentNullException.Message
                );

            throw oArgumentNullException;
        }
    }