Method CreateFunction
CreateFunction<T>(ILegacyScriptContext, IFluentLog)
Declaration
Task<ILegacyScriptFunction<T>> CreateFunction<T>(ILegacyScriptContext scriptCode, IFluentLog log)
Parameters
| Type | Name | Description |
|---|---|---|
| ILegacyScriptContext | scriptCode | |
| IFluentLog | log |
Returns
| Type | Description |
|---|---|
| Task<ILegacyScriptFunction<T>> |
Type Parameters
| Name | Description |
|---|---|
| T |
CreateFunction<T, TResult>(ILegacyScriptContext, IFluentLog)
Declaration
Task<ILegacyScriptFunction<T, TResult>> CreateFunction<T, TResult>(ILegacyScriptContext scriptCode, IFluentLog log)
Parameters
| Type | Name | Description |
|---|---|---|
| ILegacyScriptContext | scriptCode | |
| IFluentLog | log |
Returns
| Type | Description |
|---|---|
| Task<ILegacyScriptFunction<T, TResult>> |
Type Parameters
| Name | Description |
|---|---|
| T | |
| TResult |