示例#1
0
 /// <summary>
 /// Remove instance callback by id
 /// </summary>
 /// <param name="id">If id == null then remove all callbacks</param>
 public void RemoveCallback(string id = null)
 {
     foreach (var c in callbacks)
     {
         if (id != null && id != c.Key)
         {
             continue;
         }
         _meta.removeCallback(c.Value);
     }
 }