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

FireAttributesEditedInGraph() protected method

protected FireAttributesEditedInGraph ( EditedEdgeAttributes oEditedEdgeAttributes, EditedVertexAttributes oEditedVertexAttributes ) : void
oEditedEdgeAttributes EditedEdgeAttributes
oEditedVertexAttributes EditedVertexAttributes
return void
    FireAttributesEditedInGraph
    (
        EditedEdgeAttributes oEditedEdgeAttributes,
        EditedVertexAttributes oEditedVertexAttributes
    )
    {
        AssertValid();

        EventHandler<AttributesEditedEventArgs> oAttributesEditedInGraph =
            this.AttributesEditedInGraph;

        if (oAttributesEditedInGraph != null)
        {
            oAttributesEditedInGraph( this,

                new AttributesEditedEventArgs(

                    (oEditedEdgeAttributes == null) ? null :

                        NodeXLControlUtil.GetSelectedEdgeRowIDs(
                            oNodeXLControl).ToArray(),

                    oEditedEdgeAttributes,

                    (oEditedVertexAttributes == null) ? null :

                        NodeXLControlUtil.GetSelectedVertexRowIDs(
                            oNodeXLControl).ToArray(),

                    oEditedVertexAttributes
                ) );
        }
    }
TaskPane