Class XmlSerializableGraph<TVertex, TEdge, TGraph>.XmlVertexList
Represents an XML serializable list of vertices.
Inheritance
System.Object
XmlSerializableGraph<TVertex, TEdge, TGraph>.XmlVertexList
Implements
System.Collections.Generic.IEnumerable<TVertex>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: QuikGraph.Serialization
Assembly: QuikGraph.Serialization.dll
Syntax
[Serializable]
public class XmlVertexList : IEnumerable<TVertex>, IEnumerable
Methods
| Improve this Doc View SourceAdd(TVertex)
Adds a vertex to this serializable graph.
Declaration
public void Add(TVertex vertex)
Parameters
Type | Name | Description |
---|---|---|
TVertex | vertex | Vertex to add. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
GetEnumerator()
Declaration
public IEnumerator<TVertex> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<TVertex> |
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable