API Reference
Class
CxComplianceProfile
Describes which vendor baseline to follow for evaluation and optional fallbacks/overrides.
Inheritance
- Object
- CxComplianceProfile
Constructors
public CxComplianceProfile(CxVendor primary, IEnumerable<CxVendor> fallbacks = null, IDictionary<String, CxDesired> overrides = null) #Initializes a profile with a primary vendor, optional fallbacks and per-control overrides.
Parameters
- primary ComputerX.Controls.CxVendor
- Primary vendor to use.
- fallbacks System.Collections.Generic.IEnumerable{ComputerX.Controls.CxVendor} = null
- Fallback vendors in priority order.
- overrides System.Collections.Generic.IDictionary{System.String,ComputerX.Controls.CxDesired} = null
- Per-control desired value overrides keyed by anchor.
Methods
public static CxComplianceProfile For(CxVendor vendor, params CxVendor[] fallbacks) #Returns:
CxComplianceProfileConvenience factory for a simple vendor-only profile.
Parameters
- vendor ComputerX.Controls.CxVendor
- fallbacks ComputerX.Controls.CxVendor[]
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public CxVendor Primary { get; } #Primary vendor to follow (e.g., STIG, CIS, MSB, Custom).
public IReadOnlyList<CxVendor> Fallbacks { get; } #Fallback vendors in order if the primary has no desired for a given control.
public IReadOnlyDictionary<String, CxDesired> Overrides { get; } #Per-control overrides keyed by control Id (anchor) to replace the vendor values.