C# Класс SenseNet.ContentRepository.TrashBin

Наследование: SenseNet.ContentRepository.Workspaces.Workspace
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AssertRestoreContentType void
AssertTrashBinPath void

Открытые методы

Метод Описание
Delete ( ) : void
DeleteNode ( GenericContent n ) : bool
ForceDelete ( GenericContent n ) : void
GetProperty ( string name ) : object
IsInTrash ( GenericContent n ) : bool
Purge ( ) : void
Restore ( TrashBag trashBag ) : void
Restore ( TrashBag trashBag, bool addNewName ) : void
Restore ( TrashBag trashBag, string targetPath ) : void
Restore ( TrashBag trashBag, string targetPath, bool addNewName ) : void
Save ( ) : void
Save ( SavingMode mode ) : void
SaveSameVersion ( ) : void
SetProperty ( string name, object value ) : void
TrashBin ( Node parent ) : System
TrashBin ( Node parent, string nodeTypeName ) : System

Защищенные методы

Метод Описание
TrashBin ( NodeToken tk ) : System

Приватные методы

Метод Описание
AssertRestoreContentType ( GenericContent targetParent, Node node ) : void
AssertTrashBinPath ( ) : void

Описание методов

Delete() публичный Метод

public Delete ( ) : void
Результат void

DeleteNode() публичный статический Метод

public static DeleteNode ( GenericContent n ) : bool
n GenericContent
Результат bool

ForceDelete() публичный статический Метод

public static ForceDelete ( GenericContent n ) : void
n GenericContent
Результат void

GetProperty() публичный Метод

public GetProperty ( string name ) : object
name string
Результат object

IsInTrash() публичный статический Метод

public static IsInTrash ( GenericContent n ) : bool
n GenericContent
Результат bool

Purge() публичный статический Метод

public static Purge ( ) : void
Результат void

Restore() публичный статический Метод

public static Restore ( TrashBag trashBag ) : void
trashBag TrashBag
Результат void

Restore() публичный статический Метод

public static Restore ( TrashBag trashBag, bool addNewName ) : void
trashBag TrashBag
addNewName bool
Результат void

Restore() публичный статический Метод

public static Restore ( TrashBag trashBag, string targetPath ) : void
trashBag TrashBag
targetPath string
Результат void

Restore() публичный статический Метод

public static Restore ( TrashBag trashBag, string targetPath, bool addNewName ) : void
trashBag TrashBag
targetPath string
addNewName bool
Результат void

Save() публичный Метод

public Save ( ) : void
Результат void

Save() публичный Метод

public Save ( SavingMode mode ) : void
mode SavingMode
Результат void

SaveSameVersion() публичный Метод

public SaveSameVersion ( ) : void
Результат void

SetProperty() публичный Метод

public SetProperty ( string name, object value ) : void
name string
value object
Результат void

TrashBin() публичный Метод

public TrashBin ( Node parent ) : System
parent Node
Результат System

TrashBin() публичный Метод

public TrashBin ( Node parent, string nodeTypeName ) : System
parent Node
nodeTypeName string
Результат System

TrashBin() защищенный Метод

protected TrashBin ( NodeToken tk ) : System
tk SenseNet.ContentRepository.Storage.NodeToken
Результат System