Table of Contents

Interface IGenericNodeTemplate

Namespace
Ceres.Graph
Assembly
cs.temp.dll.dll

Interface for generic node template

public interface IGenericNodeTemplate

Methods

CanFilterPort(Type)

Whether input port value type is allowed for this template

bool CanFilterPort(Type portValueType)

Parameters

portValueType Type

Port value type, null if no port dropped

Returns

bool

GetAvailableArguments(Type)

Get available argument types based on port value type

Type[] GetAvailableArguments(Type portValueType)

Parameters

portValueType Type

Port value type, null if no port dropped

Returns

Type[]

GetGenericArguments(Type, Type)

Get arguments to construct generic node type

Type[] GetGenericArguments(Type portValueType, Type selectArgumentType)

Parameters

portValueType Type

Port value type, null if no port dropped

selectArgumentType Type

Returns

Type[]

GetGenericNodeEntryName(string, Type)

Make generic node view editor name

string GetGenericNodeEntryName(string label, Type selectArgumentType)

Parameters

label string
selectArgumentType Type

Returns

string

GetGenericNodeName(string, Type[])

Make generic node view editor name

string GetGenericNodeName(string label, Type[] argumentTypes)

Parameters

label string
argumentTypes Type[]

Returns

string

RequirePort()

Whether this template require to know port value type

bool RequirePort()

Returns

bool