CrystalOutputAttribute

Namespace: SnowBank.Data · class

Implements: Attribute

Base class of the attributes that request one output format from a CrystalConverterAttribute container

Remarks

Each format contributes one derived attribute carrying its own parameters ([CrystalJsonOutput] for the JSON output, [CrystalXmlOutput] for the XML one). A container generates exactly the formats it names, and nothing else.

This base exists purely for documentation and discoverability (it groups the output attributes under a common ancestor so a reader can find them all from one place). The source generator does not walk this hierarchy: it matches each output attribute by its exact metadata name, so deriving a new output attribute from this base does not register it as a recognized format - the generator would never see it.