Ejemplo n.º 1
0
 public static AuthorizeCacheSecurityGroupIngressResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new AuthorizeCacheSecurityGroupIngressResultUnmarshaller();
     }
     return(instance);
 }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            AuthorizeCacheSecurityGroupIngressResponse response = new AuthorizeCacheSecurityGroupIngressResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("AuthorizeCacheSecurityGroupIngressResult", 2))
                    {
                        response.AuthorizeCacheSecurityGroupIngressResult = AuthorizeCacheSecurityGroupIngressResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }

                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }


            return(response);
        }