Permits rapid access to references to all Grasshopper functions.

Constructors

NodeInCodeTable

#Since v6.0
public NodeInCodeTable(IEnumerable<ComponentFunctionInfo> items = null)
Instantiates the table. Users of RhinoCommon do not typically need to call this constructor.
items (IEnumerable<ComponentFunctionInfo> = null)Items.

Properties

Count

#Since v6.0
public int Count { get; }
Returns the amount of items in this table.

Methods

Add

#Since v6.0
public void Add(ComponentFunctionInfo item)
Adds, or replaces a new instance of component function information.
item (ComponentFunctionInfo)

Contains

#Since v9.0
public bool Contains(string fullName)
Check whether node is registered in this table or not
fullName (string)Full name of node

GetDynamicMemberNames

#Since v6.0
public override IEnumerable<string> GetDynamicMemberNames()
Returns all additional names in the table.

GetDynamicMembers

#Since v8.0
public IEnumerable<ComponentFunctionInfo> GetDynamicMembers()
Returns component info for all additional names in the table.

TryGetIndex

#Since v6.0
public override bool TryGetIndex(GetIndexBinder binder, object[] indexes, out object result)
Gets the ComponentFunctionInfo at
binder (GetIndexBinder)The binder.
indexes (object[])ONE string index.
result (out object)The bound info.

TryGetMember

#Since v6.0
public override bool TryGetMember(GetMemberBinder binder, out object result)
Dynamically binds the table to property-like access via its item names.
binder (GetMemberBinder)The dynamic binder.
result (out object)Returns the result.

TryInvokeMember

#Since v6.0
public override bool TryInvokeMember(InvokeMemberBinder binder, object[] args, out object result)
Dynamically invokes a member of the table.
binder (InvokeMemberBinder)The binder.
args (object[])The arguments.
result (out object)The result.
True on success.