示例#1
0
        /// <summary>
        /// Initializes a SequencingException
        /// </summary>
        /// <param name="code">The sequencing exception code, from
        /// SCORM 2004 Sequencing and Navigation Appendix D.</param>
        internal SequencingException(SequencingExceptionCode code) : base(s_exceptionStrings[(int)code])
        {
            Resources.Culture = Thread.CurrentThread.CurrentCulture;

            m_code = code.ToString().Replace("__", "-").Replace('_', '.');
        }
示例#2
0
        /// <summary>
        /// Initializes a SequencingException
        /// </summary>
        /// <param name="code">The sequencing exception code, from 
        /// SCORM 2004 Sequencing and Navigation Appendix D.</param>
        internal SequencingException(SequencingExceptionCode code) : base(s_exceptionStrings[(int)code])
        {
            Resources.Culture = Thread.CurrentThread.CurrentCulture;

            m_code = code.ToString().Replace("__", "-").Replace('_', '.');
        }