addCode() публичный Метод

adds the given code to the end of the script
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));
        }