Esempio n. 1
0
 public void UnRegisterDataListener(newDataEvent function)
 {
     if (newDataEvent != null)
     {
         newDataEvent -= function;
     }
 }
Esempio n. 2
0
 public void RegisterDataListener(newDataEvent function)
 {
     if (newDataEvent == null)
     {
         newDataEvent = function;
     }
     else
     {
         newDataEvent += function;
     }
 }