NanoByte Structure Editor
Public Member Functions | Protected Member Functions | Properties | List of all members
NanoByte.StructureEditor.NodeCandidate Class Referenceabstract

Describes a potential new node in the structure. More...

Inheritance diagram for NanoByte.StructureEditor.NodeCandidate:
NanoByte.StructureEditor.ListElementNodeCandidate< TList, TElement > NanoByte.StructureEditor.PropertyNodeCandidate< TProperty >

Public Member Functions

abstract IValueCommand GetCreateCommand ()
 Gets a command for creating the new node in the structure. More...
 
override string ToString ()
 

Protected Member Functions

 NodeCandidate (string nodeType, string description)
 Creates a new node candidate. More...
 

Properties

string NodeType [get]
 The name of the node type. More...
 
string Description [get]
 A description of the node type. More...
 

Detailed Description

Describes a potential new node in the structure.

Constructor & Destructor Documentation

◆ NodeCandidate()

NanoByte.StructureEditor.NodeCandidate.NodeCandidate ( string  nodeType,
string  description 
)
inlineprotected

Creates a new node candidate.

Parameters
nodeTypeThe name of the node type.
descriptionA description of the node type.

Member Function Documentation

◆ GetCreateCommand()

abstract IValueCommand NanoByte.StructureEditor.NodeCandidate.GetCreateCommand ( )
pure virtual

Property Documentation

◆ Description

string NanoByte.StructureEditor.NodeCandidate.Description
get

A description of the node type.

◆ NodeType

string NanoByte.StructureEditor.NodeCandidate.NodeType
get

The name of the node type.


The documentation for this class was generated from the following file: