void resolver_ServiceFound(Network.ZeroConf.IService item) { if (!parts.ContainsKey(item)) { parts.Add(item, new ServicePartDefinition(item)); } }
void resolver_ServiceRemoved(Network.ZeroConf.IService item) { if (parts.ContainsKey(item)) { parts.Remove(item); } }