public static string stringFromHotelKind(TypeHotelKind the_enum) { switch (the_enum) { case TypeHotelKind.HotelKind_Hotel: return("Hotel"); case TypeHotelKind.HotelKind_ShowList: return("ShowList"); default: Debug.Assert(false); return(null); } }
protected override void handle_result(TypeHotelKind result) { top.value.Add(result); }
protected override void handle_result(TypeHotelKind result) { //@@@ Debug.Assert(!have_value); have_value = true; value = result; }
protected abstract void handle_result(TypeHotelKind result);
public void setHotelKind(TypeHotelKind new_value) { flagHasHotelKind = true; storeHotelKind = new_value; }