示例#1
0
		public void SetUp ()
		{
			descriptor = NWBrowserDescriptor.CreateBonjourService (type, domain);
			using (var parameters = new NWParameters { IncludePeerToPeer = true})
				browser = new NWBrowser (descriptor);
			browser.SetDispatchQueue (DispatchQueue.DefaultGlobalQueue);
		}
 public void TestDispatchQueuPropertyNull() => Assert.Throws <ArgumentNullException> (() => { browser.SetDispatchQueue(null); });