=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -11,6 +11,7 @@ namespace adas_core.Application.Services;
|
||||
/// Provides an implementation of the IAlertValuesService interface for managing alert values
|
||||
/// using a configuration observation repository.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=9cef6b0 -->
|
||||
public class AlertValuesService(IConfigObservationRepository alertValueRepository) : IAlertValuesService
|
||||
{
|
||||
/// <summary>
|
||||
@@ -20,6 +21,7 @@ public class AlertValuesService(IConfigObservationRepository alertValueRepositor
|
||||
/// <param name="key">The unique identifier of the configuration observation to retrieve.</param>
|
||||
/// <returns>The matching <see cref="ConfigObservation"/> if found.</returns>
|
||||
/// <exception cref="NotFoundException">Thrown when no configuration observation exists for the specified <paramref name="key"/>.</exception>
|
||||
/// <!-- aidoc:v1 sig=2645546 body=5ae5bf7 -->
|
||||
public async Task<ConfigObservation?> FindByKey(ObjectId key)
|
||||
{
|
||||
return await alertValueRepository.FindById(key) ??
|
||||
|
||||
Reference in New Issue
Block a user