Ejemplo n.º 1
0
        static void RunTests()
        {
            TestWeb.TestType ();

            var windows = new TestSystemWindows ();
            var notification = windows.Test () as INotifyCollectionChanged;
            Console.WriteLine (notification);
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var power = new Power (8);
            Console.WriteLine (power.Compute (8));

            Console.WriteLine (TestWeb.TestType ().FullName);

            var test = new TestWeb ();
            var task = test.TestAsync ("http://www.xamarin.com/");
            var res = task.Result;
            Console.WriteLine (res);

            var windows = new TestSystemWindows ();
            var notify = windows.Test () as INotifyCollectionChanged;
            notify.CollectionChanged += delegate
            {
                Console.WriteLine ("COLLECTION CHANGED!");
            };
            Console.WriteLine (notify);
        }