public addCode ( string functionCode ) : void | ||
functionCode | string | the code to be added |
리턴 | void |
public ScriptFunction addFunction(Script script, MethodInfo operation) { //get the script code //get the function code string functionCode = this.translate(operation); //add function code to script code script.addCode(functionCode); //return the function return script.functions.Find(x => x.name == operation.Name); }
public ScriptFunction addFunction(Script script, MethodInfo operation) { //get the script code //get the function code string functionCode = this.translate(operation); //add function code to script code script.addCode(functionCode); //return the function return(script.functions.Find(x => x.name == operation.Name)); }