Namespace Serenity.Global.Application.Attributes
Classes
FoundationIdReferenceAttribute
Marks a string field, property or parameter as holding the Id of an
IFoundationSettings definition of a given type, so Inspector tooling can offer a dropdown
of the existing definition ids instead of free text.
Pure metadata with no Unity dependency; it has no effect at runtime — the annotated value remains
an ordinary string.
RequiredReferenceAttribute
Marks a field as a required reference and declares what happens at runtime when it is left empty, so
Inspector tooling can surface an appropriately alarming status instead of staying silent.
Pure metadata with no Unity dependency; it has no effect at runtime — the annotated field keeps its
ordinary behavior.
Deliberately restricted to fields (unlike its sibling reference attributes) because it describes
serialized Inspector fields, which are never properties or parameters.