private void Run(object function) { Process.Current = this; ((IFunction)function).Apply(null, new object[] { }); }