using System.Collections.Immutable; using StellaOps.Concelier.Core.Linksets; namespace StellaOps.Scanner.WebService.Services; internal sealed class NullAdvisoryLinksetQueryService : IAdvisoryLinksetQueryService { public Task QueryAsync(AdvisoryLinksetQueryOptions options, CancellationToken cancellationToken) { ArgumentNullException.ThrowIfNull(options); cancellationToken.ThrowIfCancellationRequested(); return Task.FromResult(new AdvisoryLinksetQueryResult(ImmutableArray.Empty, null, false)); } }