C# Class Smrf.NodeXL.Core.Graph.VertexMapper

Helper struct used for cloning the graph's vertices.
The Graph.Clone method uses this structure to map vertices in the original graph to the corresponding vertices in the in the new graph.

This struct is nested within the Graph class.

Mostrar archivo Open project: 2014-sed-team3/term-project

Public Methods

Method Description
VertexMapper ( Object oOriginalVertexTag, IVertex oNewVertex ) : System

Initializes a new instance of the VertexMapper class.

Private Methods

Method Description
AssertValid ( ) : void

Method Details

VertexMapper() public method

Initializes a new instance of the VertexMapper class.
public VertexMapper ( Object oOriginalVertexTag, IVertex oNewVertex ) : System
oOriginalVertexTag Object /// Value of the property of the /// original vertex. Can be null. ///
oNewVertex IVertex /// New vertex that corresponds to the original vertex. Can't be null. ///
return System