Class Graph.EdgeEnumerator
An edge enumerator.
Inheritance
System.Object
Graph.EdgeEnumerator
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class EdgeEnumerator : IEnumerable<Edge>, IEnumerator<Edge>
Properties
Current
Data
Returns the edge data.
Declaration
public uint[] Data { get; }
Property Value
System.UInt32[]
|
Data0
Returns the first data element.
Declaration
public uint Data0 { get; }
Property Value
System.UInt32
|
Data1
Returns the second data element.
Declaration
public uint Data1 { get; }
Property Value
System.UInt32
|
DataInverted
Returns true if the edge data is inverted by default.
Declaration
public bool DataInverted { get; }
Property Value
System.Boolean
|
From
Returns the vertex at the beginning.
Declaration
public uint From { get; }
Property Value
System.UInt32
|
HasData
Returns true if there is at least one edge.
Declaration
public bool HasData { get; }
Property Value
System.Boolean
|
Id
Gets the current edge id.
Declaration
public uint Id { get; }
Property Value
System.UInt32
|
To
Returns the vertex at the end.
Declaration
public uint To { get; }
Property Value
System.UInt32
|
Methods
Dispose()
Disposes this enumerator.
Declaration
public void Dispose()
GetEnumerator()
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
|
MoveToEdge(UInt32)
Moves this enumerator to the given edge.
Declaration
public void MoveToEdge(uint edge)
Parameters
System.UInt32
edge
|
Reset()
Resets this enumerator.
Declaration
public void Reset()
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Gets the enumerator.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|
IEnumerator.Current
Gets the current edge.
Declaration
object IEnumerator.Current { get; }
Returns
System.Object
|