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

            return(instance);
        }
Exemplo n.º 2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            ListRolePoliciesResponse response = new ListRolePoliciesResponse();

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


            return(response);
        }