public static ListIdentitiesResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new ListIdentitiesResultUnmarshaller();
            }

            return(instance);
        }
예제 #2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            ListIdentitiesResponse response = new ListIdentitiesResponse();

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


            return(response);
        }