public void DiscoverAndStopTest() { ServerDelegate serverDelegate = discoverer.Delegate; discoverer.Search(); Assert.IsTrue(serverDelegate.Searching); discoverer.Stop(); Assert.IsFalse(serverDelegate.Searching); }
public override void ViewDidAppear(bool animated) { base.ViewDidAppear(animated); autoServerDiscovery.Search(); }