Beispiel #1
0
    public bool equalListener(string name, EventDispatcher.CallBack callback)
    {
        if (this.name == name && this.callback == callback)
        {
            return(true);
        }

        return(false);
    }
Beispiel #2
0
 // Use this for initialization
 public EventListenTerm(string type,EventDispatcher.CallBack func)
 {
     eventType	= type;
     function	= func;
 }