Exemplo n.º 1
0
        public static GetAccountPasswordPolicyResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new GetAccountPasswordPolicyResultUnmarshaller();
            }

            return(instance);
        }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            GetAccountPasswordPolicyResponse response = new GetAccountPasswordPolicyResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("GetAccountPasswordPolicyResult", 2))
                    {
                        response.GetAccountPasswordPolicyResult = GetAccountPasswordPolicyResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }


            return(response);
        }