public GetGigResponse(XmlReader xmlReader, MessageVersion version) { m_innerMessage = Message.CreateMessage(version, Action); XmlDictionaryReader reader = XmlDictionaryReader.CreateDictionaryReader(xmlReader); this.m_linkItem = LinkItemHelper.ReadLinkItem(reader); }
public GetGigResponse(Message message) { this.m_innerMessage = message; XmlDictionaryReader reader = message.GetReaderAtBodyContents(); this.m_linkItem = LinkItemHelper.ReadLinkItem(reader); }
public void SaveGig(Message requestMessage) { XmlDictionaryReader xmlReader = requestMessage.GetReaderAtBodyContents(); xmlReader.MoveToContent(); xmlReader.Read(); xmlReader.MoveToContent(); xmlReader.Read(); this.m_linkItem = LinkItemHelper.ReadLinkItem(xmlReader); xmlReader.Close(); }