Files
Design-Patterns/patterns/bridge/Bridge Example/Notification.cs
2026-08-13 22:47:17 -04:00

15 lines
274 B
C#

namespace Bridge_Example;
//This is the abstraction
public abstract class Notification
{
protected readonly IMessageSender _sender;
protected Notification(IMessageSender sender)
{
_sender = sender;
}
public abstract void Notify(string message);
}