示例#1
0
 public void Enqueue(NClass target)
 {
     if (IsOnDispatcher())
     {
         _classes.Add(target);
     }
     else
     {
         Enqueue(new NUpdateTask {
             Target = target
         });
     }
 }
示例#2
0
 internal NPatch Upgrade(NClass newVersion)
 {
     AssignProps(newVersion, true);
     return(Diff());
 }