Documentation modifications
This commit is contained in:
@@ -22,6 +22,12 @@ public class CalculatedObservations : ICalculatedObservations
|
||||
private readonly List<string> _nonInvasiveVentilation = [];
|
||||
private readonly Lazy<IObservationService> _observationService;
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="CalculatedObservations"/> class by resolving its required dependencies from the supplied <see cref="IServiceProvider"/> and loading the configured high-frequency, invasive, and non-invasive ventilation category lists from <see cref="ApiSettings"/>.
|
||||
/// </summary>
|
||||
/// <param name="serviceProvider">The <see cref="IServiceProvider"/> used to resolve <see cref="IOptions{ApiSettings}"/>, <see cref="ILogger{CalculatedObservations}"/>, and a <see cref="Lazy{IObservationService}"/>.</param>
|
||||
/// <exception cref="InvalidOperationException">Thrown when a required dependency cannot be resolved from <paramref name="serviceProvider"/>.</exception>
|
||||
/// <!-- aidoc:v1 sig=409f903 body=98d5900 -->
|
||||
public CalculatedObservations(IServiceProvider serviceProvider)
|
||||
{
|
||||
var apiSettings = serviceProvider.GetRequiredService<IOptions<ApiSettings>>().Value;
|
||||
|
||||
Reference in New Issue
Block a user