Class EntryData
Data object to add as userData for the search tree entries.
Inheritance
System.Object
EntryData
Namespace: InsaneScatterbrain.ScriptGraph.Editor.NodeSearch
Syntax
public class EntryData : object
Constructors
EntryData(NodeType, IEnumerable<Type>, IEnumerable<Type>, Object)
Declaration
public EntryData(NodeType type, IEnumerable<Type> inPortTypes = null, IEnumerable<Type> outPortTypes = null, object data = null)
Parameters
Type | Name | Description |
---|---|---|
NodeType | type | |
IEnumerable<Type> | inPortTypes | |
IEnumerable<Type> | outPortTypes | |
System.Object | data |
Properties
Data
Gets the entry's data.
Declaration
public object Data { get; }
Property Value
Type | Description |
---|---|
System.Object |
InPortTypes
Gets the in port types associated with this entry's node.
Declaration
public ReadOnlyCollection<Type> InPortTypes { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<Type> |
NodeType
Gets the type of node.
Declaration
public NodeType NodeType { get; }
Property Value
Type | Description |
---|---|
NodeType |
OutPortTypes
Gets the out port types associated with this entry's node.
Declaration
public ReadOnlyCollection<Type> OutPortTypes { get; }
Property Value
Type | Description |
---|---|
ReadOnlyCollection<Type> |