Show / Hide Table of Contents

Class DirectedGraph.EdgeEnumerator

Represents the internal edge enumerator.

Inheritance
System.Object
DirectedGraph.EdgeEnumerator
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public sealed class EdgeEnumerator : IEnumerable<Edge>, IEnumerator<Edge>

Constructors

EdgeEnumerator(DirectedGraph)

Creates a new edge enumerator.

Declaration
public EdgeEnumerator(DirectedGraph graph)
Parameters
DirectedGraph graph

Properties

Count

Returns the number of edges in this enumerator.

Declaration
public int Count { get; }
Property Value
System.Int32

Current

Gets the current edge.

Declaration
public Edge Current { get; }
Property Value
Edge

Data

Returns the current edge data.

Declaration
public uint[] Data { get; }
Property Value
System.UInt32[]

Data0

Returns the first entry in the edge data.

Declaration
public uint Data0 { get; }
Property Value
System.UInt32

Data1

Returns the second entry in the edge data.

Declaration
public uint Data1 { get; }
Property Value
System.UInt32

Id

Returns the edge id.

Declaration
public uint Id { get; }
Property Value
System.UInt32

Neighbour

Returns the current neighbour.

Declaration
public uint Neighbour { get; }
Property Value
System.UInt32

Methods

Dispose()

Disposes.

Declaration
public void Dispose()

GetEnumerator()

Gets the enumerator.

Declaration
public IEnumerator<Edge> GetEnumerator()
Returns
IEnumerator<Edge>

MoveNext()

Move to the next edge.

Declaration
public bool MoveNext()
Returns
System.Boolean

MoveTo(UInt32)

Moves this enumerator to the given vertex.

Declaration
public bool MoveTo(uint vertex)
Parameters
System.UInt32 vertex

Returns
System.Boolean

Reset()

Resets this enumerator.

Declaration
public void Reset()

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns the enumerator.

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator

IEnumerator.Current

Gets the current edge.

Declaration
object IEnumerator.Current { get; }
Returns
System.Object

Back to top Built by Itinero, MIT licensed.