Abstract Product Interfaces (Button and Checkbox):?
- The IButton and ICheckbox interfaces define the general contract for
products. Each concrete product (e.g., WindowsButton, MacButton) will
implement the Render method to display platform-specific UI elements.
public interface IButton { void Render(); }
public interface ICheckbox { void Render(); }