Beispiel #1
0
    private void  fromJSONErrors(JSONValue json_value, bool ignore_extras)
    {
        Debug.Assert(json_value != null);
        UberRequestFatalErrorsJSON convert_classy = UberRequestFatalErrorsJSON.from_json(json_value, ignore_extras, true);

        setErrors(convert_classy);
    }
Beispiel #2
0
 public void setErrors(UberRequestFatalErrorsJSON new_value)
 {
     if (flagHasErrors)
     {
     }
     flagHasErrors = true;
     storeErrors   = new_value;
 }
Beispiel #3
0
        protected void finish()
        {
            Debug.Assert(have_value);
            UberRequestFatalErrorsJSON result = new UberRequestFatalErrorsJSON();

            result.initValue();
            int count = value.Count;

            for (int num = 0; num < count; ++num)
            {
                result.appendValue(value[num]);
            }
            handle_result(result);
        }
Beispiel #4
0
 protected override void handle_result(UberRequestFatalErrorsJSON result)
 {
     top.value.Add(result);
 }
Beispiel #5
0
        protected override void handle_result(UberRequestFatalErrorsJSON result)
        {
//@@@            Debug.Assert(!have_value);
            have_value = true;
            value      = result;
        }
Beispiel #6
0
 protected abstract void handle_result(UberRequestFatalErrorsJSON new_result);