685 B
685 B
DynamicMethods
Reflection-based infrastructure for dynamically dispatching method calls by message tag, primarily used for SignalR message routing.
Key Files
AcMethodInfoModel.cs— Wraps aMethodInfoand itsTagAttributewith cached parameter metadata.AcDynamicMethodCallModel.cs— Binds an object instance to its attributed methods, using a staticConcurrentDictionaryandFrozenDictionarycache keyed by message tag. Reflection runs once per type.AcDynamicMethodRegistry.cs— Registry with lazy method lookup across multiple registered instances. Caches discovered methods statically by message tag and resolves instances per request.