public Deserialize ( OSDMap map ) : void | ||
map | OSDMap | An |
Результат | void |
public void ParcelVoiceInfoRequestMessage() { ParcelVoiceInfoRequestMessage s = new ParcelVoiceInfoRequestMessage(); s.SipChannelUri = testURI; s.ParcelID = 1; s.RegionName = "Hooper"; OSDMap map = s.Serialize(); ParcelVoiceInfoRequestMessage t = new ParcelVoiceInfoRequestMessage(); t.Deserialize(map); Assert.AreEqual(s.SipChannelUri, t.SipChannelUri); Assert.AreEqual(s.ParcelID, t.ParcelID); Assert.AreEqual(s.RegionName, t.RegionName); }