public PrintMethods ( MethodSource methods ) : void | ||
methods | MethodSource | |
Результат | void |
public void PrintMethods(MethodSource[] methods)
{
for (int i = 0; i < methods.Length; i++) {
interpreter.Print ("{0,4} {1}", i+1, methods [i].Name);
}
}
ScriptingContext::PrintMethods ( |
protected override object DoExecute(ScriptingContext context) { foreach (SourceFile source in sources) context.PrintMethods (source); return null; }