Class ComponentMethodRegistry
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Process-global registry of methods annotated with [Component(IsErrorBoundary = true)]
and [Component(DisplayName = "...")]. Populated at startup by registration calls
MetadataRegistrationWeaver injects into the assembly's module initializer at build time;
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.