Struct MessageBrokerRemoteClientConnectorCollection
- Namespace
- LfrlAnvil.MessageBroker.Server
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents a collection of MessageBrokerRemoteClientConnector instances.
public readonly struct MessageBrokerRemoteClientConnectorCollection
- Inherited Members
Properties
Count
Specifies the number of owned connectors.
public int Count { get; }
Property Value
Methods
GetAll()
Returns all owned connectors.
[Pure]
public ReadOnlyArray<MessageBrokerRemoteClientConnector> GetAll()
Returns
- ReadOnlyArray<MessageBrokerRemoteClientConnector>
All owned connectors.
TryGetById(int)
Attempts to return a connector with the provided id.
[Pure]
public MessageBrokerRemoteClientConnector? TryGetById(int id)
Parameters
Returns
- MessageBrokerRemoteClientConnector
MessageBrokerRemoteClientConnector instance associated with the provided
idor null, when such a connector does not exist.