C# Class SecureDelete.FileSearch.ExpressionTree

Inheritance: ICloneable
Afficher le fichier Open project: gratianlup/SecureDelete Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

AddNode() public méthode

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.
Résultat void

AddRoot() public méthode

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.
Résultat void

Clone() public méthode

public Clone ( ) : object
Résultat object

DestroyParentChildRelationship() public méthode

Method executed before serialization in order to destory the parent-child relationship
public DestroyParentChildRelationship ( ExpressionNode parent ) : void
parent ExpressionNode
Résultat void

EstablishParentChildRelationship() public méthode

Method executed after deserialization in order to establish the parent-child relationship
public EstablishParentChildRelationship ( ExpressionNode parent ) : void
parent ExpressionNode
Résultat void

GetNodes() public méthode

public GetNodes ( ExpressionType type ) : List
type ExpressionType
Résultat List

RemoveChildren() public méthode

public RemoveChildren ( ExpressionNode parent ) : void
parent ExpressionNode
Résultat void

RemoveChildren() public méthode

public RemoveChildren ( ExpressionNode parent, TreeDirection direction ) : void
parent ExpressionNode
direction TreeDirection
Résultat void

RemoveUngrouped() public méthode

public RemoveUngrouped ( ExpressionNode parent ) : void
parent ExpressionNode
Résultat void