コード例 #1
0
    public static string  stringFromLocalOrRemote(TypeLocalOrRemote the_enum)
    {
        switch (the_enum)
        {
        case TypeLocalOrRemote.LocalOrRemote_Local:
            return("Local");

        case TypeLocalOrRemote.LocalOrRemote_Remote:
            return("Remote");

        default:
            Debug.Assert(false);
            return(null);
        }
    }
コード例 #2
0
 public void setLocalOrRemote(TypeLocalOrRemote new_value)
 {
     flagHasLocalOrRemote = true;
     storeLocalOrRemote   = new_value;
 }
コード例 #3
0
            protected override void handle_result(TypeLocalOrRemote result)
            {
//@@@        Debug.Assert(!have_value);
                have_value = true;
                value      = result;
            }
コード例 #4
0
 protected override void handle_result(TypeLocalOrRemote result)
 {
     top.value.Add(result);
 }
コード例 #5
0
 protected abstract void handle_result(TypeLocalOrRemote result);