Beispiel #1
0
 protected virtual void OnClick()
 {
     if (m_Aargument != null)
     {
         m_Aargument.Do(Name, m_Handler);
     }
     else
     {
         m_Handler?.Dispatch(Name);
     }
 }
Beispiel #2
0
 protected void Event(string name)
 {
     m_Handler?.Dispatch(name);
 }