public void DoSomething(string text)
 {
     if (_currentHandler != null)
     {
         _currentHandler.Invoke(text);
     }
 }
Beispiel #2
0
        public void DoSomething(string message)
        {
            FakeEventHandler tmp = currentHandler;

            if (tmp != null)
            {
                tmp.Invoke(message);
            }
        }
        public void DoSomething(string text)
        {
            FakeEventHandler tmp = currentHandler;

            if (tmp != null)
            {
                tmp.Invoke(text);
            }
        }
Beispiel #4
0
        public void DOSomething()
        {
            FakeEventHandler tmp = currentHandler;

            if (tmp != null)
            {
                tmp.Invoke("This is the reason");
            }
        }