Table of Contents

Class TransportSetHeaderAdapter<TValueType>

Namespace
MassTransit.Transports
Assembly
MassTransit.Abstractions.dll
public class TransportSetHeaderAdapter<TValueType> : ITransportSetHeaderAdapter<TValueType>

Type Parameters

TValueType
Inheritance
TransportSetHeaderAdapter<TValueType>
Implements
Inherited Members
Extension Methods

Constructors

TransportSetHeaderAdapter(IHeaderValueConverter<TValueType>, TransportHeaderOptions)

public TransportSetHeaderAdapter(IHeaderValueConverter<TValueType> converter, TransportHeaderOptions options = TransportHeaderOptions.Default)

Parameters

converter IHeaderValueConverter<TValueType>
options TransportHeaderOptions

Methods

Set(IDictionary<string, TValueType>, in HeaderValue)

public void Set(IDictionary<string, TValueType> dictionary, in HeaderValue headerValue)

Parameters

dictionary IDictionary<string, TValueType>
headerValue HeaderValue

Set<T>(IDictionary<string, TValueType>, in HeaderValue<T>)

public void Set<T>(IDictionary<string, TValueType> dictionary, in HeaderValue<T> headerValue)

Parameters

dictionary IDictionary<string, TValueType>
headerValue HeaderValue<T>

Type Parameters

T