Struct MessageBrokerChannelListenerBindingQueueBindingCollection
- Namespace
- LfrlAnvil.MessageBroker.Server
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents a collection of MessageBrokerQueueListenerBinding instances attached to a single channel listener binding, identified by queue ids.
public readonly struct MessageBrokerChannelListenerBindingQueueBindingCollection
- Inherited Members
Properties
Count
Specifies the number of queue bindings.
public int Count { get; }
Property Value
Primary
Specifies the primary queue binding.
public MessageBrokerQueueListenerBinding Primary { get; }
Property Value
Methods
GetAll()
Returns all queue bindings.
[Pure]
public ReadOnlyArray<MessageBrokerQueueListenerBinding> GetAll()
Returns
- ReadOnlyArray<MessageBrokerQueueListenerBinding>
All queue bindings.
TryGetByQueueId(int)
Attempts to return a queue binding by related queue id.
[Pure]
public MessageBrokerQueueListenerBinding? TryGetByQueueId(int queueId)
Parameters
Returns
- MessageBrokerQueueListenerBinding
MessageBrokerQueueListenerBinding instance associated with the channel listener and the provided
queueIdor null, when such a queue binding does not exist.