Exemplo n.º 1
0
        }        //end: Constructor()

        /// <summary>
        /// Default constructor for New Empty Studies.
        /// </summary>
        public ejpStudy(Guid parentAssignmentId, Guid id, string title, int EJSDatabaseId)
        {
            this._metaData = new ejpStudyMetaData(parentAssignmentId, id, title, EJSDatabaseId);

            this._xpsDocuments  = new ObservableCollection <ejpXpsDocument>();
            this._knowledgeMaps = new ObservableCollection <ejpKnowledgeMap>();
            this._reports       = new ObservableCollection <ejpReport>();

            //this.AddKnowledgeMap();
            //this.AddReport();
        }//end: Constructor()
Exemplo n.º 2
0
        /// <summary>
        /// Default constructor for New Studies.
        /// </summary>
        internal ejpStudy(Guid parentAssignmentId, Guid id, string title,
                          int EJSDatabaseId, string firstXpsDocumentPath, bool XpsExternalToAssignment,
                          Guid xpsDocumentId, string xpsDocumentTitle)
        {
            this._metaData = new ejpStudyMetaData(parentAssignmentId, id, title, EJSDatabaseId);

            this._xpsDocuments  = new ObservableCollection <ejpXpsDocument>();
            this._knowledgeMaps = new ObservableCollection <ejpKnowledgeMap>();
            this._reports       = new ObservableCollection <ejpReport>();

            this.LoadXpsDocument(firstXpsDocumentPath, xpsDocumentTitle, XpsExternalToAssignment, xpsDocumentId);
            //this.AddKnowledgeMap();
            //this.AddReport();
        }        //end: Constructor()