You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented the Bridge Design Pattern with new classes (`Tv`,
`Radio`, `RemoteControl`, `AdvancedRemote`) and the `IDevice`
interface in the `DesignPatterns.Bridge` namespace. This
decouples abstraction (`RemoteControl`) from implementation
(`Tv`, `Radio`).
Updated `Program.cs` to include a demo of the Bridge pattern,
showcasing device control features like toggling power,
adjusting volume, muting, and setting channels.
Updated `README.md` to document the Bridge pattern, including
its purpose, usage example, and test coverage.
Added `BridgeTests.cs` with unit tests for `RemoteControl` and
`AdvancedRemote` to verify functionality with `Tv` and `Radio`.
Introduced `AdvancedRemote` with a `Mute` method, `IDevice`
interface for device abstraction, and `Tv` and `Radio` classes
as device implementations.
0 commit comments