public Identifiable[] Get(ReportSettings.Identifiables item) { switch (item) { case ReportSettings.Identifiables.AnnotationTypes: return(MyAnnotationTypes); default: throw new Exception("Attempting to get unknown report setting."); } }
public void Set(ReportSettings.Identifiables item, Identifiable[] val) { switch (item) { case ReportSettings.Identifiables.AnnotationTypes: MyAnnotationTypes = val; break; default: throw new Exception("Attempting to set unknown report setting."); } }