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

            return(instance);
        }
Exemple #2
0
        public GetUserResponse Unmarshall(UnmarshallerContext context)
        {
            GetUserResponse response = new GetUserResponse();

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

            return(response);
        }