GildedRose-Refactoring-Kata/csharp.xUnit/GildedRose
Artur Goloyad 8965637f18 refactor: add IItemUpdater strategies and ItemUpdaterFactory
Introduce the Strategy + Factory design: IItemUpdater (Name + Update),
an ItemUpdaterBase with the single shared [0,50] clamp helper, stateless
strategies for normal/Aged Brie/Sulfuras/Backstage, and a factory with
two-tier resolution (exact name via case-insensitive dictionary, then
Conjured prefix rule, then the default fallback).

Not wired into GildedRose yet; no behaviour change. The Conjured
strategy itself arrives in the feature commit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-25 20:50:18 +02:00
..
AgedBrieUpdater.cs refactor: add IItemUpdater strategies and ItemUpdaterFactory 2026-07-25 20:50:18 +02:00
BackstagePassUpdater.cs refactor: add IItemUpdater strategies and ItemUpdaterFactory 2026-07-25 20:50:18 +02:00
GildedRose.cs
GildedRose.csproj upgrade xunit projcet to dotnet 10 LTS 2026-01-07 00:15:23 +04:00
IItemUpdater.cs refactor: add IItemUpdater strategies and ItemUpdaterFactory 2026-07-25 20:50:18 +02:00
IItemUpdaterFactory.cs refactor: add IItemUpdater strategies and ItemUpdaterFactory 2026-07-25 20:50:18 +02:00
Item.cs
ItemUpdaterBase.cs refactor: add IItemUpdater strategies and ItemUpdaterFactory 2026-07-25 20:50:18 +02:00
ItemUpdaterFactory.cs refactor: add IItemUpdater strategies and ItemUpdaterFactory 2026-07-25 20:50:18 +02:00
NormalItemUpdater.cs refactor: add IItemUpdater strategies and ItemUpdaterFactory 2026-07-25 20:50:18 +02:00
Program.cs
SulfurasUpdater.cs refactor: add IItemUpdater strategies and ItemUpdaterFactory 2026-07-25 20:50:18 +02:00