Esempio n. 1
0
    public static string  stringFromNavigationCommandKind(TypeNavigationCommandKind the_enum)
    {
        switch (the_enum)
        {
        case TypeNavigationCommandKind.NavigationCommandKind_Start:
            return("Start");

        case TypeNavigationCommandKind.NavigationCommandKind_NotUnderstood:
            return("NotUnderstood");

        case TypeNavigationCommandKind.NavigationCommandKind_Cancel:
            return("Cancel");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
Esempio n. 2
0
 protected override void handle_result(TypeNavigationCommandKind result)
 {
     top.value.Add(result);
 }
Esempio n. 3
0
 protected abstract void handle_result(TypeNavigationCommandKind result);
Esempio n. 4
0
            protected override void handle_result(TypeNavigationCommandKind result)
            {
//@@@        Debug.Assert(!have_value);
                have_value = true;
                value      = result;
            }
Esempio n. 5
0
 public void setNavigationCommandKind(TypeNavigationCommandKind new_value)
 {
     flagHasNavigationCommandKind = true;
     storeNavigationCommandKind   = new_value;
 }