TestimoX

API Reference

Class

BenchmarkHostFacts

Namespace TestimoX.Benchmarks.Execution
Assembly TestimoX
Modifiers sealed

Captures immutable target facts used for benchmark applicability.

Inheritance

  • Object
  • BenchmarkHostFacts

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 static BenchmarkHostFacts Collect(String computerName, Boolean collectInstalledFeatures = false, IEnumerable<BenchmarkWorkloadRole> workloadRoles = null) #
Returns: BenchmarkHostFacts

Creates benchmark facts from the shared ComputerX fact provider.

Parameters

computerName System.String requiredposition: 0
Target computer name or null for the local computer.
collectInstalledFeatures System.Boolean = false optionalposition: 1
Whether to collect installed feature identities for role-aware applicability.
workloadRoles System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkWorkloadRole} = null optionalposition: 2
Optional authoritative workload declarations from the operator or inventory provider.
public CxFacts ToComputerXFacts() #
Returns: CxFacts

Converts benchmark facts into the ComputerX control fact contract.

Properties

public String ComputerName { get; set; } #

Gets or sets the evaluated computer name.

public String OsFamily { get; set; } #

Gets or sets the operating-system family.

public String OsVersion { get; set; } #

Gets or sets the operating-system version.

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

Gets or sets the parsed Windows build number.

public Boolean IsDomainController { get; set; } #

Gets or sets whether the target is a domain controller.

public Boolean IsServerCore { get; set; } #

Gets or sets whether the target is Server Core.

public String Edition { get; set; } #

Gets or sets the operating-system edition or caption.

public BenchmarkTargetRole TargetRole { get; set; } #

Gets or sets the inferred Windows host role.

public HashSet<String> InstalledFeatures { get; set; } #

Gets or sets installed Windows feature names when collected.

public Boolean InstalledFeaturesCollected { get; set; } #

Gets or sets whether installed Windows features were collected successfully.

public String InstalledFeaturesError { get; set; } #

Gets or sets the installed-feature collection error when collection was requested but failed.

public HashSet<BenchmarkWorkloadRole> WorkloadRoles { get; set; } #

Gets or sets workload roles explicitly declared for this target.

public Boolean WorkloadRolesDeclared { get; set; } #

Gets or sets whether workload-role declarations were supplied by an operator or inventory provider.