示例#1
0
 void resolver_ServiceFound(Network.ZeroConf.IService item)
 {
     if (!parts.ContainsKey(item))
     {
         parts.Add(item, new ServicePartDefinition(item));
     }
 }
示例#2
0
 void resolver_ServiceRemoved(Network.ZeroConf.IService item)
 {
     if (parts.ContainsKey(item))
     {
         parts.Remove(item);
     }
 }