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

            return(instance);
        }
示例#2
0
        public CreateApplicationVersionResponse Unmarshall(UnmarshallerContext context)
        {
            CreateApplicationVersionResponse response = new CreateApplicationVersionResponse();

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

            return(response);
        }