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

            return(instance);
        }
Example #2
0
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            CreateGroupResponse response = new CreateGroupResponse();

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


            return(response);
        }