Amazon.RDS.Model.Internal.MarshallTransformations.DescribeOptionGroupsResponseUnmarshaller.Unmarshall C# (CSharp) Method

Unmarshall() public method

public Unmarshall ( Amazon.Runtime.Internal.Transform.XmlUnmarshallerContext context ) : AmazonWebServiceResponse
context Amazon.Runtime.Internal.Transform.XmlUnmarshallerContext
return Amazon.Runtime.AmazonWebServiceResponse
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) 
        {   
            DescribeOptionGroupsResponse response = new DescribeOptionGroupsResponse();
            
            while (context.Read())
            {
                if (context.IsStartElement)
                {                    
                    if(context.TestExpression("DescribeOptionGroupsResult", 2))
                    {
                        UnmarshallResult(context,response);                        
                        continue;
                    }
                    
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }
                 
                        
            return response;
        }