GitHubLearning and foundations
Mood Analyser in C#
C# string-rule exercises using custom exceptions, reflection, factories, and tests.
THE PROBLEM
What it sets out
to solve.
Explore object construction and error handling around a small deterministic rule.
THE APPROACH
How it comes
together.
Mood classes apply string rules; a factory/reflection layer constructs objects and the test project demonstrates expected behavior and exceptional inputs.
UNDER THE HOOD
Follow the workflow.
Trace the components.
Select a node for its role in the system.
Documented implementation workflow4 COMPONENTS
INTERACTIVE 3DMood Analyser in C#
C#.NETReflection
Trace connections 3 relationships
- Input text or constructor arguments→Factory and reflection
- Factory and reflection→String rules and exceptions
- String rules and exceptions→Test assertions
Select a component to see how it fits into the system.
CAPABILITIES
What’s inside.
- 01
Rule-based string classification
- 02
Custom exceptions
- 03
Factory and reflection examples
- 04
Separate test project