NanoByte Structure Editor  0.4.10
WinForms library for building split-screen editors for data structures
NanoByte.StructureEditor.Description< TContainer > Class Template Referenceabstract

Describes an element of the structure. More...

Inheritance diagram for NanoByte.StructureEditor.Description< TContainer >:
NanoByte.StructureEditor.ListDescription< TContainer, TList > NanoByte.StructureEditor.PropertyDescription< TContainer, TProperty, TEditor >

Public Member Functions

abstract IEnumerable< NodeGetNodesIn (TContainer container)
 Returns information about nodes of this type found in a specific instance of TContainer . More...
 
abstract IEnumerable< NodeCandidateGetCandidatesFor (TContainer container)
 Returns information about possible new child nodes of this type for a specific instance of TContainer . More...
 

Detailed Description

Describes an element of the structure.

Template Parameters
TContainerThe type of the container containing the element.
Type Constraints
TContainer :class 

Member Function Documentation

◆ GetCandidatesFor()

abstract IEnumerable<NodeCandidate> NanoByte.StructureEditor.Description< TContainer >.GetCandidatesFor ( TContainer  container)
pure virtual

Returns information about possible new child nodes of this type for a specific instance of TContainer .

Parameters
containerThe container instance to look at.

Implemented in NanoByte.StructureEditor.PropertyDescription< TContainer, TProperty, TEditor >, and NanoByte.StructureEditor.ListDescription< TContainer, TList >.

◆ GetNodesIn()

abstract IEnumerable<Node> NanoByte.StructureEditor.Description< TContainer >.GetNodesIn ( TContainer  container)
pure virtual

Returns information about nodes of this type found in a specific instance of TContainer .

Parameters
containerThe container instance to look in to.

Implemented in NanoByte.StructureEditor.PropertyDescription< TContainer, TProperty, TEditor >, and NanoByte.StructureEditor.ListDescription< TContainer, TList >.


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