Skip to content

IComplianceReads

Interface in Oadm.Sdk.Compliance · Oadm.Sdk.dll

Reads one device needs for several checks of a run, made once: the first check that asks for a key reads, the others get the same answer (one application list for every “Application running” check). Kept for one run of one device.

public interface IComplianceReads
Task<T> GetOrAddAsync<T>(string key, Func<CancellationToken, Task<T>> read, CancellationToken ct)

The value of key (“oadm.acap:list”); read runs at most once per run.