public static string stringFromDisplayOrientation(TypeDisplayOrientation the_enum) { switch (the_enum) { case TypeDisplayOrientation.DisplayOrientation_Horizontal: return("Horizontal"); case TypeDisplayOrientation.DisplayOrientation_Vertical: return("Vertical"); default: Debug.Assert(false); return(null); } }
protected override void handle_result(TypeDisplayOrientation result) { top.value.Add(result); }
protected override void handle_result(TypeDisplayOrientation result) { //@@@ Debug.Assert(!have_value); have_value = true; value = result; }
protected abstract void handle_result(TypeDisplayOrientation result);
public void setDisplayOrientation(TypeDisplayOrientation new_value) { flagHasDisplayOrientation = true; storeDisplayOrientation = new_value; }