Table of Contents

Class NodeTable<T>

Namespace
MassTransit.Internals.GraphValidation
Assembly
MassTransit.Abstractions.dll

Maintains an index of nodes so that regular ints can be used to execute algorithms against objects with int-compare speed vs. .Equals() speed

public class NodeTable<T> where T : notnull

Type Parameters

T
Inheritance
NodeTable<T>
Inherited Members

Constructors

NodeTable(int)

public NodeTable(int capacity)

Parameters

capacity int

Properties

this[T]

Returns the index for the specified key, which can be any type that supports equality comparison

public int this[T key] { get; }

Parameters

key T

The key to retrieve

Property Value

int

The index that uniquely relates to the specified key