Table of Contents

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)[])

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)

Parameters

filename string
functions (Delegate func, string description)[]

Returns

ResolvedImport

BuildLibrary(string, (string name, Delegate func, string description)[])

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)

Parameters

filename string
functions (string name, Delegate func, string description)[]

Returns

ResolvedImport

BuildSingle(Delegate, string)

Using reflecion, transform a C# function with Table, string, bool, int and void return types and arguments into a FunctionExtStmt record

public static FunctionExtStmt BuildSingle(Delegate d, string desc)

Parameters

d Delegate
desc string

Returns

FunctionExtStmt

BuildSingle(string, Delegate, string)

Using reflecion, transform a C# function with Table, string, bool, int and void return types and arguments into a FunctionExtStmt record with the specified name

public static FunctionExtStmt BuildSingle(string name, Delegate d, string desc)

Parameters

name string
d Delegate
desc string

Returns

FunctionExtStmt