public void Run() { InstanceContext <InternalApp <T> > .InitializeAsFirstInstance(StartAppTask, p => { p.BringToForeground = true; }); }