public void notifyAll() { for (var i = 0; i < list.Count - 1; i++) { HelloWorld.Interfaces.INotify notify = list[i]; notify.notified(); } }
public HelloObserver subscribe(HelloWorld.Interfaces.INotify observerable) { list.Add(observerable); return(this); }