Westwind.Scripting Class Reference
CSharpScriptExecution.ExecuteCode
Table of Contents
On this page:

CSharpScriptExecution.ExecuteCode

Executes a snippet of code. Pass in a variable number of parameters (accessible via the parameters[0..n] array) and return an object parameter. Code should include: return (object) SomeValue as the last line or return null

public TResult ExecuteCode<TResult,TModelType>(string code, TModelType model)

Overloads

public TResult ExecuteCode<TResult>(string code, object[] parameters)
public object ExecuteCode(string code, object[] parameters)

© West Wind Technologies, 2025 • updated: Apr 27, 2025
Comment or report problem with topic