示例#1
0
 private static BridgeUpdater CheckForRemove(BridgeUpdater updater, IJsCsGlue glue)
 {
     if (glue.Release())
     {
         updater.Remove(glue);
     }
     return(updater);
 }
示例#2
0
 private static BridgeUpdater CheckForRemove(BridgeUpdater updater, List <IJsCsGlue> glues)
 {
     glues.ForEach(glue =>
     {
         if (glue.Release())
         {
             updater.Remove(glue);
         }
     });
     return(updater);
 }