Class TransportFactoryRegistration
Registration record for factory-based transport creation.
public sealed record TransportFactoryRegistration : IEquatable<TransportFactoryRegistration>
- Inheritance
-
TransportFactoryRegistration
- Implements
- Inherited Members
- Extension Methods
Constructors
TransportFactoryRegistration(string, TransportLocality, Func<IServiceProvider, ITransportAdapter>)
Registration record for factory-based transport creation.
public TransportFactoryRegistration(string TransportType, TransportLocality Locality, Func<IServiceProvider, ITransportAdapter> Factory)
Parameters
TransportTypestringThe transport type identifier.
LocalityTransportLocalityWhether the transport delivers in-process or across a network boundary.
FactoryFunc<IServiceProvider, ITransportAdapter>Factory function to create the adapter.
Properties
Factory
Factory function to create the adapter.
public Func<IServiceProvider, ITransportAdapter> Factory { get; init; }
Property Value
Locality
Whether the transport delivers in-process or across a network boundary.
public TransportLocality Locality { get; init; }
Property Value
TransportType
The transport type identifier.
public string TransportType { get; init; }