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); } }
public void setLocalOrRemote(TypeLocalOrRemote new_value) { flagHasLocalOrRemote = true; storeLocalOrRemote = new_value; }
protected override void handle_result(TypeLocalOrRemote result) { //@@@ Debug.Assert(!have_value); have_value = true; value = result; }
protected override void handle_result(TypeLocalOrRemote result) { top.value.Add(result); }
protected abstract void handle_result(TypeLocalOrRemote result);