TestimoX

API Reference

Class

BenchmarkSourceDescriptor

Namespace TestimoX.Benchmarks.Sources
Assembly TestimoX
Modifiers sealed

Describes an allow-listed external benchmark source and its expected integrity.

Inheritance

  • Object
  • BenchmarkSourceDescriptor

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Methods

public BenchmarkSourceReference ToSourceReference(Int32 importedRecommendationCount, Int32 parsedItemCount, Int32 accountedItemCount, Int32 applicabilityPreflightItemCount, Int32 reportedOnlyRecommendationCount) #
Returns: BenchmarkSourceReference

Creates pack provenance for an imported source.

Parameters

importedRecommendationCount System.Int32 requiredposition: 0
parsedItemCount System.Int32 requiredposition: 1
accountedItemCount System.Int32 requiredposition: 2
applicabilityPreflightItemCount System.Int32 requiredposition: 3
reportedOnlyRecommendationCount System.Int32 requiredposition: 4

Properties

public String Id { get; set; } #

Gets or sets the provider-specific source identifier.

public String PackId { get; set; } #

Gets or sets the stable native pack identifier; legacy Windows descriptors may leave this empty.

public String Vendor { get; set; } #

Gets or sets the benchmark publisher.

public String Product { get; set; } #

Gets or sets the benchmarked product name.

public String DisplayName { get; set; } #

Gets or sets the user-facing pack name without a version suffix; an empty value uses a generated name.

public String ProductVersion { get; set; } #

Gets or sets the benchmarked product version.

public BenchmarkProductVariant ProductVariant { get; set; } #

Gets or sets the benchmark product variant.

public String BenchmarkVersion { get; set; } #

Gets or sets the source benchmark version.

public String ProfileId { get; set; } #

Gets or sets the TestimoX profile identifier supplied by this source.

public String ProfileDisplayName { get; set; } #

Gets or sets an optional user-facing profile name.

public List<String> ProfileInherits { get; set; } #

Gets or sets profile identifiers inherited by this source profile.

public BenchmarkProfileLevel Level { get; set; } #

Gets or sets the profile security level.

public BenchmarkTargetRole TargetRole { get; set; } #

Gets or sets the target server role.

public BenchmarkTargetKind TargetKind { get; set; } #

Gets or sets the typed resource assessed by the source.

public Nullable<BenchmarkWorkloadRole> WorkloadRole { get; set; } #

Gets or sets a workload role required for the source.

public String ProductVersionPattern { get; set; } #

Gets or sets an optional wildcard for the discovered product version.

public Nullable<Int32> MinimumBuild { get; set; } #

Gets or sets the minimum Windows build when the source targets Windows.

public Nullable<Int32> MaximumBuild { get; set; } #

Gets or sets the maximum Windows build when the source targets Windows.

public String PageUrl { get; set; } #

Gets or sets the source page URL.

public String DownloadUrl { get; set; } #

Gets or sets the source download URL.

public String FileName { get; set; } #

Gets or sets the expected downloaded filename.

public String Sha256 { get; set; } #

Gets or sets the exact expected SHA-256 hash.

public Int64 Size { get; set; } #

Gets or sets the exact expected size in bytes.

public DateTimeOffset UpdatedAt { get; set; } #

Gets or sets the source update date.

public Int32 AdvertisedControlCount { get; set; } #

Gets or sets the provider-advertised control count. Provider counting semantics are retained as provenance and are not assumed to equal parsed custom-item or unique recommendation counts.