public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
{
ListAccountAliasesResponse response = new ListAccountAliasesResponse();
while (context.Read())
{
if (context.IsStartElement)
{
if(context.TestExpression("ListAccountAliasesResult", 2))
{
UnmarshallResult(context,response);
continue;
}
if (context.TestExpression("ResponseMetadata", 2))
{
response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
}
}
}
return response;
}