Class EntryFactory
Inheritance
System.Object
EntryFactory
Namespace: InsaneScatterbrain.ScriptGraph.Editor.NodeSearch
Syntax
public static class EntryFactory : object
Methods
Create(String, Int32, EntryData)
Creates a new search tree entry.
Declaration
public static SearchTreeEntry Create(string typeName, int level, EntryData data)
Parameters
Type | Name | Description |
---|---|---|
System.String | typeName | The entry's name. |
System.Int32 | level | The level the entry's at. |
EntryData | data | The data to store with the entry. |
Returns
Type | Description |
---|---|
SearchTreeEntry | The new search tree entry. |
CreateGroup(String, Int32)
Creates a new search tree group entry.
Declaration
public static SearchTreeGroupEntry CreateGroup(string name, int level)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The group's name. |
System.Int32 | level | The group's level. |
Returns
Type | Description |
---|---|
SearchTreeGroupEntry | The new search tree group entry. |