C# 클래스 SecureDelete.FileSearch.ExpressionTree

상속: ICloneable
파일 보기 프로젝트 열기: gratianlup/SecureDelete 1 사용 예제들

공개 메소드들

메소드 설명
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