Example #1
0
        public static CreateGroupResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new CreateGroupResultUnmarshaller();
            }

            return(instance);
        }
Example #2
0
        public CreateGroupResponse Unmarshall(UnmarshallerContext 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);
        }