예제 #1
0
        public void DiscoverAndStopTest()
        {
            ServerDelegate serverDelegate = discoverer.Delegate;

            discoverer.Search();
            Assert.IsTrue(serverDelegate.Searching);
            discoverer.Stop();
            Assert.IsFalse(serverDelegate.Searching);
        }
예제 #2
0
 public override void ViewDidAppear(bool animated)
 {
     base.ViewDidAppear(animated);
     autoServerDiscovery.Search();
 }