Skip to content

FoundryHarnessEffectiveDefaults

NexusLabs.Foundry.MicrosoftAgentFramework.Harness.Bundle

FoundryHarnessEffectiveDefaults Class

A complete requested-versus-effective report of every FoundryHarnessFeature dimension for a specific FoundryHarnessAgentConfiguration.

public sealed record FoundryHarnessEffectiveDefaults : System.IEquatable<NexusLabs.Foundry.MicrosoftAgentFramework.Harness.Bundle.FoundryHarnessEffectiveDefaults>

Inheritance System.Object 🡒 FoundryHarnessEffectiveDefaults

Implements System.IEquatable<FoundryHarnessEffectiveDefaults>

Remarks

Obtain an instance from DescribeEffectiveDefaults(FoundryHarnessAgentConfiguration). Because this report is a pure function of the configuration, it is valid both before and after calling Create(FoundryHarnessAgentConfiguration) with the same configuration instance.

The constructor is not public; use the internal NexusLabs.Foundry.MicrosoftAgentFramework.Harness.Bundle.FoundryHarnessEffectiveDefaults.Create(System.Collections.Generic.IReadOnlyList{NexusLabs.Foundry.MicrosoftAgentFramework.Harness.Bundle.FoundryHarnessFeatureDisposition}) factory within the bundle assembly to produce validated instances. All properties are read-only; the Dispositions list is a defensive copy.

Properties

FoundryHarnessEffectiveDefaults.Dispositions Property

Gets one FoundryHarnessFeatureDisposition per FoundryHarnessFeature value. The list is a defensive copy; external mutations to the original list have no effect.

public System.Collections.Generic.IReadOnlyList<NexusLabs.Foundry.MicrosoftAgentFramework.Harness.Bundle.FoundryHarnessFeatureDisposition> Dispositions { get; }

Property Value

System.Collections.Generic.IReadOnlyList<FoundryHarnessFeatureDisposition>

Methods

FoundryHarnessEffectiveDefaults.GetDisposition(FoundryHarnessFeature) Method

Gets the disposition recorded for the given feature.

public NexusLabs.Foundry.MicrosoftAgentFramework.Harness.Bundle.FoundryHarnessFeatureDisposition GetDisposition(NexusLabs.Foundry.MicrosoftAgentFramework.Harness.Bundle.FoundryHarnessFeature feature);

Parameters

feature FoundryHarnessFeature

The bundle dimension to look up.

Returns

FoundryHarnessFeatureDisposition
The matching FoundryHarnessFeatureDisposition.

Exceptions

System.InvalidOperationException
No disposition was recorded for feature.