public Unmarshall ( Amazon.Runtime.Internal.Transform.XmlUnmarshallerContext context ) : |
||
context | Amazon.Runtime.Internal.Transform.XmlUnmarshallerContext | |
return |
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
{
DescribeNetworkInterfacesResponse response = new DescribeNetworkInterfacesResponse();
int targetDepth = 2;
while (context.Read())
{
if (context.IsStartElement || context.IsAttribute)
{
if (context.TestExpression("networkInterfaceSet/item", targetDepth))
{
response.NetworkInterfaces.Add(NetworkInterfaceUnmarshaller.GetInstance().Unmarshall(context));
continue;
}
}
}
return response;
}