xamarin-macios/tests/interdependent-binding-proj.../Main.cs

38 строки
914 B
C#
Исходник Обычный вид История

2017-01-26 15:38:39 +03:00
using System;
using Foundation;
using UIKit;
using MonoTouch.NUnit.UI;
using NUnit.Framework;
using NUnit.Framework.Internal;
#if !__WATCHOS__
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
UIWindow window;
TouchRunner runner;
public override bool FinishedLaunching (UIApplication app, NSDictionary options)
{
window = new UIWindow (UIScreen.MainScreen.Bounds);
runner = new TouchRunner (window);
runner.Add (System.Reflection.Assembly.GetExecutingAssembly ());
runner.Add (typeof (Xamarin.BindingTests2.BindingTest).Assembly);
runner.Add (typeof (Xamarin.BindingTests.ProtocolTest).Assembly);
window.RootViewController = new UINavigationController (runner.GetViewController ());
window.MakeKeyAndVisible ();
return true;
}
static void Main (string[] args)
{
UIApplication.Main (args, null, typeof (AppDelegate));
}
}
#endif // !__WATCHOS__