Example #1
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Create a response to an annotation
        /// </summary>
        /// <returns>The new StJournalText that will contain the response</returns>
        /// ------------------------------------------------------------------------------------
        public IStJournalText CreateResponse()
        {
            IStJournalText response = ResponsesOS.Append(new StJournalText());

            InitializeText(null, response);
            return(response);
        }
Example #2
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Create a response to an annotation
        /// </summary>
        /// <returns>The new StJournalText that will contain the response</returns>
        /// ------------------------------------------------------------------------------------
        public IStJournalText CreateResponse()
        {
            IStJournalText response = Services.GetInstance <IStJournalTextFactory>().Create();

            ResponsesOS.Add(response);
            InitializeText(null, response);
            return(response);
        }