Table of Contents

Class NodeCandidate

Namespace
NanoByte.StructureEditor
Assembly
NanoByte.StructureEditor.dll

Describes a potential new node in the structure.

public abstract class NodeCandidate
Inheritance
NodeCandidate
Derived
Inherited Members

Constructors

NodeCandidate(string, string?)

Describes a potential new node in the structure.

protected NodeCandidate(string nodeType, string? description)

Parameters

nodeType string

The name of the node type.

description string

A description of the node type.

Properties

Description

A description of the node type.

public string? Description { get; }

Property Value

string

NodeType

The name of the node type.

public string NodeType { get; }

Property Value

string

Methods

GetCreateCommand()

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

public abstract IValueCommand GetCreateCommand()

Returns

IValueCommand

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.