예제 #1
0
        public void Notify()
        {
            Observer current = (Observer)this.poActiveHead;

            while (current != null)
            {
                current.Notify();
            }
        }
예제 #2
0
        // notify all observers
        public void Notify()
        {
            Observer current = this.poObserverHead;

            while (current != null)
            {
                current.Notify();

                current = (Observer)current.pNext;
            }
        }