public RealWorld(AppInstance inst, int index) { this.inst = inst; this.index = index; }
public static void DoMain(this AppInstance inst, Func <IO <None> > body) { None result; body().Execute(new RealWorld(inst, 0), out result); }