The YGraphAdapter type exposes the following members.

Constructors

  NameDescription
Public methodYGraphAdapter
Initializes a new instance of the YGraphAdapter class.

Methods

  NameDescription
Public methodCreateDataMap<(Of <<'(K, V>)>>)
Creates an IDataMap that delegates to the provided IMapper<(Of <(<'K, V>)>)> when queried for items in the YGraph.
Public methodCreateDataProvider<(Of <<'(K, V>)>>)(IMapper<(Of <<'(K, V>)>>))
Creates an IDataProvider that delegates to the provided IMapper<(Of <(<'K, V>)>)> when queried for items in the YGraph.
Public methodCreateDataProvider<(Of <<'(K, V>)>>)(MapperDelegate<(Of <<'(K, V>)>>))
Creates an IDataProvider that delegates to the provided delegate when queried for items in the YGraph.
Public methodCreateEdgeEnumerable
Creates an enumerable of edges that maps the edges from the EdgeList to their original ones.
Public methodCreateEdgeList
Creates an EdgeList that maps the edges from the IEnumerable<(Of <(<'T>)>)> to their copied ones.
Public methodCreateEdgeMap<(Of <<'(V>)>>)(IMapper<(Of <<'(IEdge, V>)>>))
Creates an IEdgeMap that delegates to the provided IMapper<(Of <(<'K, V>)>)> when queried for Edges in the YGraph.
Public methodCreateEdgeMap<(Of <<'(V>)>>)(MapperDelegate<(Of <<'(IEdge, V>)>>))
Creates an IEdgeMap that delegates to the provided delegate when queried for Edges in the YGraph.
Public methodCreateMapper<(Of <<'(T>)>>)(IDataProvider)
Creates an IMapper<(Of <(<'K, V>)>)> that delegates to the provided IDataProvider when queried for items in the IGraph.
Public methodCreateMapper<(Of <<'(T>)>>)(IEdgeMap)
Creates an IMapper<(Of <(<'K, V>)>)> that delegates to the provided IEdgeMap when queried for items in the IGraph.
Public methodCreateMapper<(Of <<'(T>)>>)(INodeMap)
Creates an IMapper<(Of <(<'K, V>)>)> that delegates to the provided INodeMap when queried for items in the IGraph.
Public methodCreateNodeEnumerable
Creates an enumerable of nodes that maps the nodes from the NodeList to their original ones.
Public methodCreateNodeList
Creates a NodeList that maps the nodes from the IEnumerable<(Of <(<'T>)>)> to their copied ones.
Public methodCreateNodeMap<(Of <<'(V>)>>)(IMapper<(Of <<'(INode, V>)>>))
Creates an INodeMap that delegates to the provided IMapper<(Of <(<'K, V>)>)> when queried for Nodes in the YGraph.
Public methodCreateNodeMap<(Of <<'(V>)>>)(MapperDelegate<(Of <<'(INode, V>)>>))
Creates an INodeMap that delegates to the provided delegate when queried for Nodes in the YGraph.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCopiedEdge
Yields the edge that has been created as a copy in YGraph to represent the given edge.
Public methodGetCopiedNode
Yields the node that has been created as a copy in YGraph to represent the given node.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetOriginalEdge
Yields the original edge from the original IGraph. that the given edge has been created for.
Public methodGetOriginalNode
Yields the original node from the original IGraph. that the given node has been created for.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyOriginalGraph
Gets the original graph instance.
Public propertyYGraph
Gets the graph instance that is created during the constructor call.

See Also