C# Класс SecureDelete.FileSearch.ExpressionTree

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

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

Метод Описание
AddNode ( ExpressionNode parent, TreeDirection direction, ExpressionType type, object item ) : void

Adds the node.

AddRoot ( ExpressionType type, object item ) : void

Adds the root node of the tree.

Clone ( ) : object
DestroyParentChildRelationship ( ExpressionNode parent ) : void

Method executed before serialization in order to destory the parent-child relationship

EstablishParentChildRelationship ( ExpressionNode parent ) : void

Method executed after deserialization in order to establish the parent-child relationship

GetNodes ( ExpressionType type ) : List
RemoveChildren ( ExpressionNode parent ) : void
RemoveChildren ( ExpressionNode parent, TreeDirection direction ) : void
RemoveUngrouped ( ExpressionNode parent ) : void

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

Метод Описание
GetNodesRecursive ( ExpressionNode node, ExpressionType type ) : List
NewNodeByType ( ExpressionType type, object item ) : ExpressionNode

Creates a new node of the specified type.

OnDeserializedMethod ( StreamingContext context ) : void
OnSerializingMethod ( StreamingContext context ) : void
RemoveUngroupedRecursive ( ExpressionNode parent ) : void

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

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

Adds the node.
public AddNode ( ExpressionNode parent, TreeDirection direction, ExpressionType type, object item ) : void
parent ExpressionNode The parent.
direction TreeDirection The direction.
type ExpressionType The type.
item object The item.
Результат void

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

Adds the root node of the tree.
public AddRoot ( ExpressionType type, object item ) : void
type ExpressionType The node type.
item object The item to add to the node.
Результат void

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

public Clone ( ) : object
Результат object

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

Method executed before serialization in order to destory the parent-child relationship
public DestroyParentChildRelationship ( ExpressionNode parent ) : void
parent ExpressionNode
Результат void

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

Method executed after deserialization in order to establish the parent-child relationship
public EstablishParentChildRelationship ( ExpressionNode parent ) : void
parent ExpressionNode
Результат void

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

public GetNodes ( ExpressionType type ) : List
type ExpressionType
Результат List

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

public RemoveChildren ( ExpressionNode parent ) : void
parent ExpressionNode
Результат void

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

public RemoveChildren ( ExpressionNode parent, TreeDirection direction ) : void
parent ExpressionNode
direction TreeDirection
Результат void

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

public RemoveUngrouped ( ExpressionNode parent ) : void
parent ExpressionNode
Результат void