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

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

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

            return(response);
        }