Inheritance: SenseNet.ContentRepository.Workspaces.Workspace
Example #1
0
        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);
            }
        }