TestimoX

API Reference

Class

CisBenchmarkSourceCatalog

Namespace TestimoX.Benchmarks.Sources
Assembly TestimoX
Modifiers static

Routes product-neutral import and inventory requests to current integrity-pinned CIS source catalogs.

Inheritance

  • Object
  • CisBenchmarkSourceCatalog

Methods

public static BenchmarkSourceDescriptor GetById(String id) #
Returns: BenchmarkSourceDescriptor

Gets one exact source from the current integrity-pinned allow-list.

Parameters

id System.String requiredposition: 0
GetCurrent 4 overloads
public static IReadOnlyList<BenchmarkSourceDescriptor> GetCurrent(BenchmarkProductFamily family, String productVersion) #
Returns: IReadOnlyList<BenchmarkSourceDescriptor>

Gets current sources for one supported product family and generation.

Parameters

family TestimoX.Benchmarks.BenchmarkProductFamily requiredposition: 0
productVersion System.String requiredposition: 1
public static IReadOnlyList<BenchmarkSourceDescriptor> GetCurrent(BenchmarkProductFamily family, String productVersion, BenchmarkProductVariant productVariant) #
Returns: IReadOnlyList<BenchmarkSourceDescriptor>

Gets current sources for one supported product family, generation, and variant.

Parameters

family TestimoX.Benchmarks.BenchmarkProductFamily requiredposition: 0
productVersion System.String requiredposition: 1
productVariant TestimoX.Benchmarks.BenchmarkProductVariant requiredposition: 2
public static IReadOnlyList<BenchmarkSourceDescriptor> GetCurrent(BenchmarkProductFamily family) #
Returns: IReadOnlyList<BenchmarkSourceDescriptor>

Gets current sources for every supported generation in one product family.

Parameters

family TestimoX.Benchmarks.BenchmarkProductFamily requiredposition: 0
public static IReadOnlyList<BenchmarkSourceDescriptor> GetCurrent(BenchmarkProductFamily family, BenchmarkProductVariant productVariant) #
Returns: IReadOnlyList<BenchmarkSourceDescriptor>

Gets current sources for every supported generation of one product family and variant.

Parameters

family TestimoX.Benchmarks.BenchmarkProductFamily requiredposition: 0
productVariant TestimoX.Benchmarks.BenchmarkProductVariant requiredposition: 1
public static BenchmarkProductVariant GetDefaultProductVariant(BenchmarkProductFamily family) #
Returns: BenchmarkProductVariant

Gets the default variant for a product family.

Parameters

family TestimoX.Benchmarks.BenchmarkProductFamily requiredposition: 0
public static String GetDefaultProductVersion(BenchmarkProductFamily family) #
Returns: String

Gets the default generation for a product family.

Parameters

family TestimoX.Benchmarks.BenchmarkProductFamily requiredposition: 0
public static IReadOnlyList<BenchmarkCatalogProduct> GetSupportedProducts() #
Returns: IReadOnlyList<BenchmarkCatalogProduct>

Gets the immutable current product and benchmark inventory.

public static Boolean TryGetProductFamily(BenchmarkPack pack, out BenchmarkProductFamily family) #
Returns: Boolean

Tries to classify one imported pack into a supported product family.

Parameters

pack TestimoX.Benchmarks.BenchmarkPack requiredposition: 0
family TestimoX.Benchmarks.BenchmarkProductFamily@ requiredposition: 1