Csharp Visitor Pattern
Implement visitor pattern for operation delegation
Risk Level
MEDIUM
Core Rules
- Validate visitors
- test traversal
- Test thoroughly before deploying
Response Pattern
When Using This Skill
- Implement visitors
- Validate the implementation
- Test edge cases and error conditions
- Ensure performance meets requirements
Usage Contexts
- Operation delegation
- traversal algorithms
What NOT to Do
- Type safety loss
- traversal errors
- Deploy without testing
Key Requirements
- Understand the use cases before application
- Follow the documented response pattern
- Validate results in the target environment
- Monitor for performance impact
Further Learning
Review related skills and documentation for deeper understanding of related systems and best practices.