예제 #1
0
        static void Main()
        {
            var notifier = new Notifier();
            var client = new Client(notifier);

            notifier.DoSomething();

            var badClient = new BadClient(notifier);
            notifier.DelegateNotEvent.Invoke();
        }
예제 #2
0
        static void Main()
        {
            var notifier = new Notifier();
            var client   = new Client(notifier);

            notifier.DoSomething();

            var badClient = new BadClient(notifier);

            notifier.DelegateNotEvent.Invoke();
        }