示例#1
0
 public static void Remove(int id)
 {
     ObjectMap.TryRemove(id, out _);
     InteropBridge.SendMessage(InteropCall.Remove, id, default);
 }
示例#2
0
 private static void Send <TArg>(InteropCall <IApplicationComponent, TArg> call, ElementId id, TArg arg)
 {
     InteropBridge.SendMessage(call, id, arg);
 }
示例#3
0
 private static bool Call(InteropCall <IApplicationComponent, InteropEvent, bool> call, ElementId id, InteropEvent e)
 {
     return(InteropBridge.Invoke(call, id, e));
 }
示例#4
0
 private static void Fire(InteropCall <IApplicationComponent, None> call, ElementId id)
 {
     InteropBridge.SendMessage(call, id, default(None));
 }