protected void Rollup(Activity activity) { if (m_packageFormat == PackageFormat.V1p3) { if (m_seqNav == null) { m_seqNav = new Scorm2004SeqNav(this); } ((Scorm2004SeqNav)m_seqNav).Rollup(activity); } }
/// <summary> /// Performs a full SCORM 2004 or SCORM 1.2 navigation on the current activity tree. /// </summary> /// <param name="command">The navigation command to perform.</param> /// <param name="destination">The destination activity for choice navigation.</param> /// <returns>True if the attempt is completed and should not be returned to.</returns> protected bool Navigate(NavigationCommand command, Activity destination) { if (m_seqNav == null) { if (m_packageFormat == PackageFormat.V1p2 || m_packageFormat == PackageFormat.Lrm) { m_seqNav = new Scorm12SeqNav(this); } else { m_seqNav = new Scorm2004SeqNav(this); } } return(m_seqNav.OverallSequencingProcess(command, destination)); }
/// <summary> /// Performs a full SCORM 2004 or SCORM 1.2 navigation on the current activity tree. /// </summary> /// <param name="command">The navigation command to perform.</param> /// <param name="destination">The destination activity for choice navigation.</param> /// <returns>True if the attempt is completed and should not be returned to.</returns> protected bool Navigate(NavigationCommand command, Activity destination) { if(m_seqNav == null) { if(m_packageFormat == PackageFormat.V1p2 || m_packageFormat == PackageFormat.Lrm) { m_seqNav = new Scorm12SeqNav(this); } else { m_seqNav = new Scorm2004SeqNav(this); } } return m_seqNav.OverallSequencingProcess(command, destination); }
protected void Rollup(Activity activity) { if(m_packageFormat == PackageFormat.V1p3) { if(m_seqNav == null) { m_seqNav = new Scorm2004SeqNav(this); } ((Scorm2004SeqNav)m_seqNav).Rollup(activity); } }