public void GetAsXMLStringUnitTest() { Console.WriteLine("--> " + System.Reflection.MethodBase.GetCurrentMethod().Name); SIPEventPresence presence = new SIPEventPresence(SIPURI.ParseSIPURI("sip:[email protected]")); presence.Tuples.Add(new SIPEventPresenceTuple("1234", SIPEventPresenceStateEnum.open, SIPURI.ParseSIPURIRelaxed("*****@*****.**"), 0.8M)); Console.WriteLine(presence.ToXMLText()); Console.WriteLine("-----------------------------------------"); }
public void GetAsXMLStringUnitTest() { Console.WriteLine("--> " + System.Reflection.MethodBase.GetCurrentMethod().Name); SIPEventPresence presence = new SIPEventPresence(SIPURI.ParseSIPURI("sip:[email protected]")); presence.Tuples.Add(new SIPEventPresenceTuple("1234", SIPEventPresenceStateEnum.open, SIPURI.ParseSIPURIRelaxed("*****@*****.**"), 0.8M)); Console.WriteLine(presence.ToXMLText()); Console.WriteLine("-----------------------------------------"); }