示例#1
0
 /// <summary>
 /// Removes a model that was previously registered.
 /// </summary>
 /// <param name="guid">The guid of the model to remove.</param>
 /// <returns><c>true</c> if a model has been actually removed, <c>false</c> otherwise.</returns>
 public bool RemoveModelNode(Guid guid)
 {
     if (guidContainer != null)
     {
         guidContainer.UnregisterGuid(guid);
     }
     return(modelsByGuid.Remove(guid));
 }