Class CommandChainNode
Command-Chain node, every CommandNode must inherit from this node
Inheritance
System.Object
CommandChainNode
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SqlDotNet.Runtime
Assembly: SqlDotNet.dll
Syntax
public abstract class CommandChainNode
Constructors
| Improve this Doc View SourceCommandChainNode(CommandChainNode)
Create the parser
Declaration
public CommandChainNode(CommandChainNode parent)
Parameters
Type | Name | Description |
---|---|---|
CommandChainNode | parent | Parent node |
Methods
| Improve this Doc View SourceCreateNode<T>()
Create new child node
Declaration
public T CreateNode<T>()
where T : CommandChainNode
Returns
Type | Description |
---|---|
T | Instance of a CommandCainNode |
Type Parameters
Name | Description |
---|---|
T | Type of the node |
FindChildrenBesidesOfType<T>()
Get all childres which are NOT of a specifig type
Declaration
public IList<CommandChainNode> FindChildrenBesidesOfType<T>()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<CommandChainNode> | List with all children |
Type Parameters
Name | Description |
---|---|
T | Type |
FindChildrenOfType<T>()
Get all children of a specific type
Declaration
public IList<T> FindChildrenOfType<T>()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<T> | List with all children |
Type Parameters
Name | Description |
---|---|
T | Type |