public static void Remove(string name, MethodObject method, params object[] targets) { Event.Remove(name, (object)method, targets); }
public static EventListener AddLimited(string name, MethodObject method, int amount = 1, params object[] targets) { return(Event.Add(name, (object)method, amount, targets)); }
public static EventListener Add(string name, MethodObject method, params object[] targets) { return(Event.Add(name, (object)method, -1, targets)); }
protected static void AddMethod(MethodObject m) { AddMethod(0, m); }
protected static void AddMethod(int inlet, MethodObject m) { ((External)m.Target).klass.AddMethod(inlet, m); }
public void AddMethod(int inlet, MethodObject d) { DynamicMethodObject dyn = DynamicMethods.Create(d); m_object = dyn; methodflags |= MethodFlags.f_anything; }