예제 #1
0
 public static CreateDBSecurityGroupResultUnmarshaller GetInstance()
 {
     if (instance == null)
     {
         instance = new CreateDBSecurityGroupResultUnmarshaller();
     }
     return(instance);
 }
예제 #2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            CreateDBSecurityGroupResponse response = new CreateDBSecurityGroupResponse();

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

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


            return(response);
        }