- Add BINARY_FORMAT.md: full AcBinary wire format spec (markers, encoding, options, protocol, interactions) - Reference BINARY_FORMAT.md from GLOSSARY.md, Binaries/README.md, and Serializers/Binaries/README.md; add new glossary terms - Clarify and expand config options tables to match new doc - Add/clarify LLM maintenance rules: always sync .md files with code, auto-fix discrepancies - Update root README.md: AyCode.Core targets .NET 9, not 10; stress doc/code sync - Add code reuse and doc sync conventions to copilot-instructions.md and CONVENTIONS.md - Add docs/ folder and BINARY_FORMAT.md to solution as Solution Items - Minor clarifications and cross-links in ARCHITECTURE.md and other docs |
||
|---|---|---|
| .. | ||
| AcDynamicMethodCallModel.cs | ||
| AcDynamicMethodRegistry.cs | ||
| AcMethodInfoModel.cs | ||
| README.md | ||
README.md
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.