public void AttachNotifier(INotifyReciever reciever) { this.observers.Add(reciever); }
public MainController(IBookingScheduleService scheduleService, IAdminProxyDAO adminService, INotifyReciever reciever) { this.scheduleService = scheduleService; this.adminService = adminService; this.AttachNotifier(reciever); }
public static void AddNotifyReciever(INotifyReciever rec) { _notifyRecievers.Add(rec); }