コード例 #1
0
        public Identifiable[] Get(ReportSettings.Identifiables item)
        {
            switch (item)
            {
            case ReportSettings.Identifiables.AnnotationTypes:
                return(MyAnnotationTypes);

            default:
                throw new Exception("Attempting to get unknown report setting.");
            }
        }
コード例 #2
0
        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.");
            }
        }