NanoByte Structure Editor  0.4.10
WinForms library for building split-screen editors for data structures
NanoByte.StructureEditor.ListElementNodeCandidate< TList, TElement > Class Template Reference

Describes a potential new node in the structure that points to an element in the list. More...

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

Public Member Functions

 ListElementNodeCandidate (string name, IList< TList > list)
 Creates a new list element node candidate. More...
 
override IValueCommand GetCreateCommand ()
 Gets a command for creating the new node in the structure.
 
- Public Member Functions inherited from NanoByte.StructureEditor.NodeCandidate
override string ToString ()
 

Additional Inherited Members

- Protected Member Functions inherited from NanoByte.StructureEditor.NodeCandidate
 NodeCandidate (string nodeType, string? description)
 Creates a new node candidate. More...
 
- Properties inherited from NanoByte.StructureEditor.NodeCandidate
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 that points to an element in the list.

Template Parameters
TListThe type of elements in the list.
TElementThe type of a specific element type to add to the list.
Type Constraints
TList :notnull 
TElement :TList 
TElement :new() 

Constructor & Destructor Documentation

◆ ListElementNodeCandidate()

NanoByte.StructureEditor.ListElementNodeCandidate< TList, TElement >.ListElementNodeCandidate ( string  name,
IList< TList >  list 
)
inline

Creates a new list element node candidate.

Parameters
nameThe name of the element type.
listThe list to add the element to.

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