Exemplo n.º 1
0
        public SaveGigRequest(Message message)
        {
            this.m_innerMessage = message;

            XmlDictionaryReader xmlReader = message.GetReaderAtBodyContents();

            this.m_linkItem = LinkItemHelper.ReadLinkItem(xmlReader);
        }
Exemplo n.º 2
0
        public SaveGigRequest(XmlReader reader, MessageVersion version)
        {
            m_innerMessage = Message.CreateMessage(version, Action);

            XmlDictionaryReader xmlReader = XmlDictionaryReader.CreateDictionaryReader(reader);

            this.m_linkItem = LinkItemHelper.ReadLinkItem(xmlReader);
        }
Exemplo n.º 3
0
        public GetGigResponse(Message message)
        {
            this.m_innerMessage = message;

            XmlDictionaryReader xmlReader = message.GetReaderAtBodyContents();

            xmlReader.MoveToContent();
            xmlReader.Read();
            xmlReader.MoveToContent();
            xmlReader.Read();

            this.m_linkItem = LinkItemHelper.ReadLinkItem(xmlReader);

            xmlReader.Close();
        }