Class Library
- Namespace
- TabScript
- Assembly
- TableScript.dll
The purpose of this class is to transform C# libraries into available functions for TableScript
public static class Library
- Inheritance
-
Library
- Inherited Members
Methods
BuildLibrary(string, (Delegate func, string description)[], bool)
Using reflecion, transforms C# functions with Table, string, bool, int and void return types and arguments into FunctionExtStmt records
public static ResolvedImport BuildLibrary(string filename, (Delegate func, string description)[] functions, bool generateDescription = false)
Parameters
Returns
BuildLibrary(string, (string name, Delegate func, string description)[], bool)
Using reflecion, transforms C# functions with Table, string, bool, int and void return types and arguments into FunctionExtStmt records with the specified names
public static ResolvedImport BuildLibrary(string filename, (string name, Delegate func, string description)[] functions, bool generateDescription = false)
Parameters
filenamestringfunctions(string name, Delegate func, string description)[]generateDescriptionbool
Returns
BuildSingle(string, Delegate, string, bool)
Using reflecion, transform a C# function with Table, string, bool, int and void return types and arguments into a FunctionExtStmt record. if 'name' is null, the method's name will be used
public static FunctionExtStmt BuildSingle(string name, Delegate d, string desc, bool generateDescription = false)