NanoByte Structure Editor  0.4.10
WinForms library for building split-screen editors for data structures
NanoByte.StructureEditor.PropertyNodeCandidate< TProperty > Class Template Reference

Describes a potential new node in the structure that points to a property. More...

Inheritance diagram for NanoByte.StructureEditor.PropertyNodeCandidate< TProperty >:
NanoByte.StructureEditor.NodeCandidate

Public Member Functions

 PropertyNodeCandidate (string name, PropertyPointer< TProperty?> pointer)
 Creates a new property 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 a property.

Template Parameters
TPropertyThe type of the property.
Type Constraints
TProperty :class 
TProperty :new() 

Constructor & Destructor Documentation

◆ PropertyNodeCandidate()

NanoByte.StructureEditor.PropertyNodeCandidate< TProperty >.PropertyNodeCandidate ( string  name,
PropertyPointer< TProperty?>  pointer 
)
inline

Creates a new property node candidate.

Parameters
nameThe name of the property.
pointerA pointer to the property.

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