![DropDown image](dropdown.gif)
![DropDownHover image](dropdownHover.gif)
![Collapse image](collapse_all.gif)
![Expand image](expand_all.gif)
![CollapseAll image](collall.gif)
![ExpandAll image](expall.gif)
![Copy image](copycode.gif)
![CopyHover image](copycodeHighlight.gif)
Objects implementing the IInvokable interface will be treated as functions. Suppose there is a variable f in the function scope that implements IInvokable, then following S# code:
f(1,2,3);
will be interpreted as following in C# code:
IInvokable fi = f as IInvokable;
if (fi == null || !fi.CanInvoke()) throw exception;
return fi.Invoke(Context, new object[] {1,2,3});
See also: