コード例 #1
0
 public void AddSRVResult(SIPDNSServiceResult sipSRVResult)
 {
     if (SIPSRVResults == null)
     {
         SIPSRVResults = new List <SIPDNSServiceResult>()
         {
             sipSRVResult
         };
     }
     else
     {
         SIPSRVResults.Add(sipSRVResult);
     }
 }
コード例 #2
0
 public void AddNAPTRResult(SIPDNSServiceResult sipNAPTRResult)
 {
     if (SIPNAPTRResults == null)
     {
         SIPNAPTRResults = new Dictionary <SIPServicesEnum, SIPDNSServiceResult>()
         {
             { sipNAPTRResult.SIPService, sipNAPTRResult }
         };
     }
     else
     {
         SIPNAPTRResults.Add(sipNAPTRResult.SIPService, sipNAPTRResult);
     }
 }
コード例 #3
0
 public void AddSRVResult(SIPDNSServiceResult sipSRVResult)
 {
     if (SIPSRVResults == null)
     {
         SIPSRVResults = new List<SIPDNSServiceResult>() { sipSRVResult };
     }
     else
     {
         SIPSRVResults.Add(sipSRVResult);
     }
 }
コード例 #4
0
 public void AddNAPTRResult(SIPDNSServiceResult sipNAPTRResult)
 {
     if (SIPNAPTRResults == null)
         {
             SIPNAPTRResults = new Dictionary<SIPServicesEnum, SIPDNSServiceResult>() { { sipNAPTRResult.SIPService, sipNAPTRResult } };
         }
         else
         {
             SIPNAPTRResults.Add(sipNAPTRResult.SIPService, sipNAPTRResult);
         }
 }