C# Class AddinFramework.Util.ScriptUtility

Datei anzeigen Open project: Helmut-Ortmann/EnterpriseArchitect_hoTools

Public Methods

Method Description
RunScriptFunction ( Model model, ScriptFunction function, EA oType, object oContext ) : bool

Run function for EA item of arbitrary type - If parameter count = 2 it calls the function with oType, oContext - If parameter count = 3 it calls the function with oType, oContext, Model

Method Details

RunScriptFunction() public static method

Run function for EA item of arbitrary type - If parameter count = 2 it calls the function with oType, oContext - If parameter count = 3 it calls the function with oType, oContext, Model
public static RunScriptFunction ( Model model, ScriptFunction function, EA oType, object oContext ) : bool
model EAAddinFramework.Utils.Model
function AddinFramework.Util.Script.ScriptFunction Function
oType EA EA Object type
oContext object EA Object
return bool