Class GraphEdge
Defines a graph edge.
Inheritance
System.Object
System.Dynamic.DynamicObject
GraphEdge
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
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)
Namespace: Kephas.Graphs
Assembly: Kephas.Core.dll
Syntax
public class GraphEdge : Expando, IGraphEdge, IExpando, IDynamicMetaObjectProvider, IIndexable
Constructors
| Improve this Doc View SourceGraphEdge(GraphNode, GraphNode)
Initializes a new instance of the GraphEdge class.
Declaration
protected GraphEdge(GraphNode from, GraphNode to)
Parameters
Type | Name | Description |
---|---|---|
GraphNode | from | The node from which the edge starts. |
GraphNode | to | The node where the edge ends. |
Properties
| Improve this Doc View SourceFrom
Gets the node from which the edge starts.
Declaration
public virtual IGraphNode From { get; }
Property Value
Type | Description |
---|---|
IGraphNode | The node from which the edge starts. |
To
Gets the node where the edge ends.
Declaration
public virtual IGraphNode To { get; }
Property Value
Type | Description |
---|---|
IGraphNode | The node where the edge ends. |
Methods
| Improve this Doc View SourceToString()
Returns a string that represents the edge.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the edge. |
Overrides
System.Object.ToString()
Implements
System.Dynamic.IDynamicMetaObjectProvider