Table of Contents

Class TransportConnectionConfiguration

Namespace
JobFlow.Core.Infrastructure.Transports
Assembly
JobFlow.Core.dll

Transport connection mapping.

public class TransportConnectionConfiguration : KeyedServiceConfiguration<TransportFactoryTypeAttribute, ITransportConnectionFactory>, IKeyedServiceConfiguration<TransportFactoryTypeAttribute, ITransportConnectionFactory>
Inheritance
TransportConnectionConfiguration
Implements
Inherited Members
Extension Methods

Remarks

This is used to map a transport connection name to its corresponding connection factory.

Methods

Add(string, Type, TransportOptionFlags)

Add a new mapping.

public void Add(string name, Type type, TransportOptionFlags flags = TransportOptionFlags.None)

Parameters

name string
type Type

Must derive from ITransportConnectionFactory

flags TransportOptionFlags

Exceptions

InvalidCastException

Add<T>(string, TransportOptionFlags)

Add a new mapping.

public void Add<T>(string name, TransportOptionFlags flags = TransportOptionFlags.None) where T : ITransportConnectionFactory

Parameters

name string
flags TransportOptionFlags

Type Parameters

T

Must derive from ITransportConnectionFactory