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