Table of Contents

Class Bind<TKey, TValue>

Namespace
MassTransit.ExtensionsDependencyInjectionIntegration
Assembly
MassTransit.ExtensionsDependencyInjectionIntegration.dll

Bind is used to store types bound to their owner, such as an IBusControl to an IMyBus.

public class Bind<TKey, TValue> where TValue : class

Type Parameters

TKey

The key type

TValue

The bound type

Inheritance
Bind<TKey, TValue>
Inherited Members

Constructors

Bind(TValue)

public Bind(TValue value)

Parameters

value TValue

Properties

Value

public TValue Value { get; }

Property Value

TValue

Methods

Create<T>(T)

public static Bind<TKey, TValue, T> Create<T>(T value) where T : class

Parameters

value T

Returns

Bind<TKey, TValue, T>

Type Parameters

T