Table of Contents

Struct Edge<T, TNode>

Namespace
MassTransit.Internals.GraphValidation
Assembly
MassTransit.Abstractions.dll
public struct Edge<T, TNode> : IComparable<Edge<T, TNode>> where TNode : Node<T>

Type Parameters

T
TNode
Implements
IComparable<Edge<T, TNode>>
Inherited Members

Constructors

Edge(TNode, TNode, int)

public Edge(TNode source, TNode target, int weight)

Parameters

source TNode
target TNode
weight int

Fields

Source

public readonly TNode Source

Field Value

TNode

Target

public readonly TNode Target

Field Value

TNode

Weight

public readonly int Weight

Field Value

int

Methods

CompareTo(Edge<T, TNode>)

public int CompareTo(Edge<T, TNode> other)

Parameters

other Edge<T, TNode>

Returns

int