Class UndirectedEdgeEventArgs<TVertex, TEdge>
Base class for arguments of an event related to an undirected edge.
Inheritance
System.Object
System.EventArgs
EdgeEventArgs<TVertex, TEdge>
UndirectedEdgeEventArgs<TVertex, TEdge>
Inherited Members
System.EventArgs.Empty
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
Assembly: QuikGraph.dll
Syntax
[Serializable]
public class UndirectedEdgeEventArgs<TVertex, TEdge> : EdgeEventArgs<TVertex, TEdge> where TEdge : IEdge<TVertex>
Type Parameters
| Name | Description |
|---|---|
| TVertex | Vertex type. |
| TEdge | Edge type. |
Constructors
| Improve this Doc View SourceUndirectedEdgeEventArgs(TEdge, Boolean)
Initializes a new instance of the UndirectedEdgeEventArgs<TVertex, TEdge> class.
Declaration
public UndirectedEdgeEventArgs(TEdge edge, bool reversed)
Parameters
| Type | Name | Description |
|---|---|---|
| TEdge | edge | The edge. |
| System.Boolean | reversed | Indicates if the edge should be reversed or not. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentNullException |
|
Properties
| Improve this Doc View SourceReversed
Indicates if the edge vertices are reversed or not.
Declaration
public bool Reversed { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Source
Edge source.
Declaration
public TVertex Source { get; }
Property Value
| Type | Description |
|---|---|
| TVertex |
Target
Edge target.
Declaration
public TVertex Target { get; }
Property Value
| Type | Description |
|---|---|
| TVertex |