HarnessContextCategoryContribution
NexusLabs.Foundry.MicrosoftAgentFramework¶
NexusLabs.Foundry.MicrosoftAgentFramework.Diagnostics¶
HarnessContextCategoryContribution Class¶
One category's contribution to a successful compaction/assembly decision's final size. The sum of every Size across a HarnessContextDiagnostics instance's CategoryContributions always equals that instance's FinalSize exactly, because both are computed from the same final entries using the same estimator that governed the policy decision.
public sealed record HarnessContextCategoryContribution : System.IEquatable<NexusLabs.Foundry.MicrosoftAgentFramework.Diagnostics.HarnessContextCategoryContribution>
Inheritance System.Object 🡒 HarnessContextCategoryContribution
Implements System.IEquatable<HarnessContextCategoryContribution>
Remarks¶
Instances are created exclusively by the internalNexusLabs.Foundry.MicrosoftAgentFramework.Diagnostics.HarnessContextCategoryContribution.Create(NexusLabs.Foundry.MicrosoftAgentFramework.Diagnostics.HarnessContextCategory,System.Int32,System.Int32) factory, which
enforces every validity invariant. There is no public constructor.
Properties¶
HarnessContextCategoryContribution.Category Property¶
The structural category this contribution describes.
public NexusLabs.Foundry.MicrosoftAgentFramework.Diagnostics.HarnessContextCategory Category { get; }
Property Value¶
HarnessContextCategoryContribution.EntryCount Property¶
The positive count of final entries belonging to Category.
Property Value¶
HarnessContextCategoryContribution.Size Property¶
The non-negative total estimated size, in MeasurementUnit, of every final entry belonging to Category.