Back to API Reference
Class

ParameterAttribute

sealed
Inherits:Attribute

Marks a serialized field as positional parameter metadata: its C# type, declaration order, name, and initializer drive the editor schema and runtime fallback.

Remarks

The runtime never reflects. Its ParameterReader read order MUST match the reflected declaration order: own-type fields first, then inherited base-type fields.
public string Parser{ get; set }

Name of a static bool (ReadOnlySpan<char>, out T) method declaring this parameter's own markup-token vocabulary in place of the type's default parsing.

public bool Descriptor{ get; set }

False keeps the field a positional markup slot and editor schema entry while declaring no descriptor: value resolution belongs to the modifier's own parse code, with no cascade, ownership, or driving surface.

public string Invalidate{ get; set }

Name of an instance parameterless method raising this parameter's invalidation, for fields whose state callback needs a value transition and cannot be raised on its own.