Class ComponentMethodRegistry
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Process-global registry of methods annotated with [Component(IsErrorBoundary = true)]
and [Component(DisplayName = "...")]. Populated by Source-Generator-emitted
[ModuleInitializer] hooks at startup; consumed by V.Component on every render
and by hook-rule violation paths.
public static class ComponentMethodRegistry
- Inheritance
-
objectComponentMethodRegistry
Remarks
The registry keys on (declaringTypeFullName, methodName). Component's contract is
"1 method = 1 attribute, no overloads," so a type/method-name pair is a unique identity without
parameter signatures. Reflection on ComponentAttribute is intentionally avoided
for IL2CPP / metadata-stripping resilience.