示例#1
0
 protected override void OnReadBodyContents(XmlDictionaryReader reader)
 {
     reader.ReadStartElement("BaseObjectSearchResponse", "http://schemas.microsoft.com/2006/11/IdentityManagement/DirectoryAccess");
     ResultSerializer.Deserialize(reader, ResultSerializer.ResultDialect.XPath1, out this._entry);
     DirectoryControlSerializer.Deserialize(reader, out this._controls, false, false);
     reader.ReadEndElement();
 }
示例#2
0
    public ResultPacket(byte[] data) // 패킷을 데이터로 변환(수신용)
    {
        m_data = new ResultData();
        ResultSerializer serializer = new ResultSerializer();

        serializer.SetDeserializedData(data);
        serializer.Deserialize(ref m_data);
    }
示例#3
0
        protected override void OnReadBodyContents(XmlDictionaryReader reader)
        {
            base.OnReadBodyContents(reader);
            XmlReader xmlReader = reader.ReadSubtree();

            using (xmlReader)
            {
                xmlReader.Read();
                ResultSerializer.Deserialize(xmlReader, ResultSerializer.ResultDialect.WSTransfer, out this._entry);
            }
            reader.Read();
            DirectoryControlSerializer.Deserialize(reader, out this._controls, false, false);
            reader.ReadEndElement();
        }
示例#4
0
        protected override void OnReadBodyContents(XmlDictionaryReader reader)
        {
            ADWSResultEntry aDWSResultEntry = null;

            reader.ReadStartElement("PullResponse", "http://schemas.xmlsoap.org/ws/2004/09/enumeration");
            this._enumerationContext = XmlUtility.DeserializeEunmerationContext(reader);
            if (reader.IsStartElement("Items", "http://schemas.xmlsoap.org/ws/2004/09/enumeration"))
            {
                reader.Read();
                while (reader.NodeType != XmlNodeType.EndElement)
                {
                    ResultSerializer.Deserialize(reader, ResultSerializer.ResultDialect.WSEnumeration, out aDWSResultEntry);
                    this._results.Add(aDWSResultEntry);
                }
                reader.ReadEndElement();
            }
            DirectoryControlSerializer.Deserialize(reader, out this._controls, false, false);
        }