Show / Hide Table of Contents

Class NodeCandidate

Describes a potential new node in the structure.

Inheritance
Object
NodeCandidate
ListElementNodeCandidate<TList, TElement>
PropertyNodeCandidate<TProperty>
Namespace: NanoByte.StructureEditor
Assembly: NanoByte.StructureEditor.dll
Syntax
public abstract class NodeCandidate : Object

Constructors

NodeCandidate(String, String)

Creates a new node candidate.

Declaration
protected NodeCandidate(string nodeType, string description)
Parameters
Type Name Description
String nodeType

The name of the node type.

String description

A description of the node type.

Properties

Description

A description of the node type.

Declaration
public string Description { get; }
Property Value
Type Description
String

NodeType

The name of the node type.

Declaration
public string NodeType { get; }
Property Value
Type Description
String

Methods

GetCreateCommand()

Gets a command for creating the new node in the structure.

Declaration
public abstract IValueCommand GetCreateCommand()
Returns
Type Description
IValueCommand

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
In This Article
Back to top Copyright Bastian Eicher