protected override void Method() { int lineIndex; if (int.TryParse(Parameters[0], out lineIndex) && lineIndex > 0) { FunctionManager.Run(lineIndex); } }
public override void Prepare() { int index; if (!int.TryParse(Parameters[0], out index)) { index = FunctionManager.FindFunctionIndex(Parameters[0]); if (index > -1) { Parameters[0] = (index + 1).ToString(); } } }