public static void ForceDelete(GenericContent n) { Logger.WriteVerbose("Trashbin: Finally deleting from Repository", Logger.EmptyCategoryList, new Dictionary<string, object> { { "NodePath", n.Path } }); n.ForceDelete(); }
public virtual void Delete(bool bypassTrash) { //let the TrashBin handle the delete operation: //only move the node to the trash or delete it permanently if (bypassTrash) { TrashBin.ForceDelete(this); } else { TrashBin.DeleteNode(this); } }