Click or drag to resize

GraphExtensionsToDelegateUndirectedGraphTVertex, TEdge, TValue Method (IDictionaryTVertex, TValue, FuncKeyValuePairTVertex, TValue, IEnumerableTEdge)

Namespace:  QuickGraph
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static DelegateVertexAndEdgeListGraph<TVertex, TEdge> ToDelegateUndirectedGraph<TVertex, TEdge, TValue>(
	this IDictionary<TVertex, TValue> dictionary,
	Func<KeyValuePair<TVertex, TValue>, IEnumerable<TEdge>> keyValueToOutEdges
)
where TEdge : Object, IEdge<TVertex>, IEquatable<TEdge>

Parameters

dictionary
Type: System.Collections.GenericIDictionaryTVertex, TValue
keyValueToOutEdges
Type: SystemFuncKeyValuePairTVertex, TValue, IEnumerableTEdge

Type Parameters

TVertex
TEdge
TValue

Return Value

Type: DelegateVertexAndEdgeListGraphTVertex, TEdge

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDictionaryTVertex, TValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also