Documentation modifications

This commit is contained in:
julian
2026-06-27 15:23:26 -07:00
parent a633fe6c06
commit a19fb90902
218 changed files with 2882 additions and 0 deletions
@@ -31,6 +31,20 @@ public class ReceiverService
private IBus? _bus;
/// <summary>
/// Initializes a new instance of <see cref="ReceiverService"/> by assigning the injected domain services, RabbitMQ settings and logger to backing fields. When <see cref="RabbitMqSettings.ConnectionString"/> is non-empty, it invokes <see cref="ReceiverService.SetQueues"/> and <see cref="ReceiverService.TryToConnect"/>; otherwise it logs an error.
/// </summary>
/// <param name="observationService">The observation service exposed by the receiver.</param>
/// <param name="treatmentService">The treatment service exposed by the receiver.</param>
/// <param name="patientsService">The patient service exposed by the receiver.</param>
/// <param name="pumpService">The pump service exposed by the receiver.</param>
/// <param name="recordingAlertService">The recording alert service exposed by the receiver.</param>
/// <param name="recordingService">The recording service exposed by the receiver.</param>
/// <param name="appointmentService">The appointment service exposed by the receiver.</param>
/// <param name="alarmService">The alarm service exposed by the receiver.</param>
/// <param name="settings">The <see cref="IOptions{TOptions}"/> wrapper providing the <see cref="RabbitMqSettings"/> configuration.</param>
/// <param name="logger">The <see cref="ILogger{TCategoryName}"/> used for diagnostic logging.</param>
/// <!-- aidoc:v1 sig=fcc45e1 body=ab58f48 -->
public ReceiverService(
IObservationService observationService,
ITreatmentService treatmentService,
@@ -139,6 +153,11 @@ public class ReceiverService
}
}
/// <summary>
/// Registers an asynchronous consumer for the specified <paramref name="queue"/> that receives messages, resolves the mapped service, and dispatches the payload for parsing and processing. When no service is mapped for the queue, the message is skipped with a warning; otherwise processing errors are logged and rethrown to enable the retry mechanism.
/// </summary>
/// <param name="queue">The name of the queue whose incoming messages will be consumed.</param>
/// <!-- aidoc:v1 sig=db55582 body=6d1e9a6 -->
private void RegisterConsumer(string queue)
{
_bus!.SendReceive.ReceiveAsync<string>(queue, async payload =>