ShapeContractRequiresPropertyOverrideAttribute

Attributes ยท AiDotNet.Attributes

Marks a symbolic shape-contract implementation that is available only when a concrete model overrides a named virtual property supplying model-specific shape metadata.

Inheritance: Attribute โ†’ ShapeContractRequiresPropertyOverrideAttribute

How It Works

This keeps conditional base-class contracts declarative and statically discoverable. Conformance tooling can reject an inherited default before constructing a paper-scale model, while a derived model that supplies the required metadata is automatically treated as a concrete contract without overriding OutputAxesFor itself.

Constructors

Constructor Summary
ShapeContractRequiresPropertyOverrideAttribute(string propertyName, string reason) Creates a conditional shape-contract declaration.

Properties

Property Summary
string PropertyName { get; } Gets the virtual property that a concrete model must override.
string Reason { get; } Gets the explanation reported by metadata consumers.