Enhance Tool, BinItem, and MultiBin classes with: - Input validation in constructors and property setters - Guard clauses for invalid states (negative values, empty names) - Business logic methods (CanFitItem, CalculateWaste, etc.) - Proper encapsulation with backing fields - Comprehensive XML documentation - Override Equals/GetHashCode for value semantics - Better ToString() implementations These changes enforce business rules at the domain level and prevent invalid states from being created. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
3.7 KiB
3.7 KiB