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

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

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

            return(response);
        }