NanoByte Structure Editor
Public Member Functions | List of all members
NanoByte.StructureEditor.IStructureEditor< T > Interface Template Reference

An editor for hierarchical structures. More...

Inheritance diagram for NanoByte.StructureEditor.IStructureEditor< T >:
NanoByte.StructureEditor.WinForms.StructureEditor< T >

Public Member Functions

IContainerDescription< TContainer > Describe< TContainer > ()
 Adds a ContainerDescription<TContainer> used to describe the structure of the data being editing. More...
 
IContainerDescription< T > DescribeRoot (string name)
 Set up handling for the root element with a generic editor. More...
 
IContainerDescription< T > DescribeRoot< TEditor > (string name)
 Set up handling for the root element with a custom editor. More...
 

Detailed Description

An editor for hierarchical structures.

Template Parameters
TThe type of object to edit.
Type Constraints
T :class 

Member Function Documentation

◆ Describe< TContainer >()

IContainerDescription<TContainer> NanoByte.StructureEditor.IStructureEditor< T >.Describe< TContainer > ( )

Adds a ContainerDescription<TContainer> used to describe the structure of the data being editing.

Template Parameters
TContainerThe type of the container to describe.
Returns
The ContainerDescription<TContainer> for use in a "Fluent API" style.

Implemented in NanoByte.StructureEditor.WinForms.StructureEditor< T >.

Type Constraints
TContainer :class 

◆ DescribeRoot()

Set up handling for the root element with a generic editor.

Parameters
nameThe name of the root element.

Implemented in NanoByte.StructureEditor.WinForms.StructureEditor< T >.

◆ DescribeRoot< TEditor >()

Set up handling for the root element with a custom editor.

Template Parameters
TEditorAn editor for modifying the content of the root.
Parameters
nameThe name of the root element.

Implemented in NanoByte.StructureEditor.WinForms.StructureEditor< T >.

Type Constraints
TEditor :INodeEditor<T> 
TEditor :new() 

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