Exemplo n.º 1
0
 public static void ClosureAssignCommand(uint obj, ActionDelegate func)
 {
     if (NativeFunctions.ClosureAssignCommand(obj, NextEventId) != 0)
     {
         Closures.Add(NextEventId++, new Closure {
             OwnerObject = obj, Run = func
         });
     }
 }