예제 #1
0
        public static CreateConfigurationTemplateResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new CreateConfigurationTemplateResultUnmarshaller();
            }

            return(instance);
        }
        public CreateConfigurationTemplateResponse Unmarshall(UnmarshallerContext context)
        {
            CreateConfigurationTemplateResponse response = new CreateConfigurationTemplateResponse();

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

            return(response);
        }