Пример #1
0
        public void Notify()
        {
            IIterator iterator = graph.GetIterator();

            while (iterator.HasMoveNext())
            {
                Console.WriteLine(iterator.Next());


                foreach (var observer in raid_list)
                {
                    observer.Update(observer);
                }
            }
        }