Exemplo n.º 1
0
    public override void DidFinishLaunching(NSNotification notification)
#endif
    {
        var args = new string[0];

        FastTrace.WriteLine("Startup: Reached AppDelegate.DidFinishLaunching / AppDelegate.FinishedLaunching");

        ErrorProtection.RunEarly(() => ProtectedStartup(args));
        ErrorProtection.RunMain(_kernel.TryGet <IErrorReport>(), ProtectedRun);
    }
Exemplo n.º 2
0
 public static void Main(string[] args)
 {
     ErrorProtection.RunEarly(() => ProtectedStartup(args));
     ErrorProtection.RunMain(_kernel.TryGet <IErrorReport>(), ProtectedRun);
 }