Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Export Center CI / export-ci (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled
15 lines
584 B
C#
15 lines
584 B
C#
using System.Collections.Immutable;
|
|
using StellaOps.Concelier.Core.Linksets;
|
|
|
|
namespace StellaOps.Scanner.WebService.Services;
|
|
|
|
internal sealed class NullAdvisoryLinksetQueryService : IAdvisoryLinksetQueryService
|
|
{
|
|
public Task<AdvisoryLinksetQueryResult> QueryAsync(AdvisoryLinksetQueryOptions options, CancellationToken cancellationToken)
|
|
{
|
|
ArgumentNullException.ThrowIfNull(options);
|
|
cancellationToken.ThrowIfCancellationRequested();
|
|
return Task.FromResult(new AdvisoryLinksetQueryResult(ImmutableArray<AdvisoryLinkset>.Empty, null, false));
|
|
}
|
|
}
|