//Setter to update the strategy public void SetCurrentStrategy(IExtractNumberStrategy strategy) { this._strategy = strategy; }
//Constructor can take a default strategy public Context(IExtractNumberStrategy currentStrategy) { this._strategy = currentStrategy; }