public void SetUp()
        {
            // Setup the observer.
            _resultObserver = new MockObserver();
            NotificationListener.Subscribe(_resultObserver);

            _listnerToTest = new Notifications.iOS.NotificationListener();
        }
示例#2
0
        public App()
        {
            InitializeComponent();


            // Register the notification listener.
            NotificationListener.Subscribe(new NotificationObserver());


            MainPage = new NavigationPage(new Views.MainPage());
        }