Exemple #1
0
        /// <summary>
        /// Copy the options from another instance.
        /// </summary>
        /// <param name="dicomThreadOptions">The other instance to copy from.</param>
        public void CopyFrom(DicomThreadOptions dicomThreadOptions)
        {
            base.CopyFrom(dicomThreadOptions);

            // Copy all settings from the encapsulated DvtkScriptSession.
            DvtkScriptSession.CopySettingsFrom(dicomThreadOptions.DvtkScriptSession);

            // Copy all other settings not contained in the Dvtk ScriptSession object that are contained in the DicomThreadOptions class.
            AutoValidate            = dicomThreadOptions.autoValidate;
            LogChildThreadsOverview = dicomThreadOptions.LogChildThreadsOverview;
            LogThreadStartingAndStoppingInParent = dicomThreadOptions.LogThreadStartingAndStoppingInParent;
            LogWaitingForCompletionChildThreads  = dicomThreadOptions.LogWaitingForCompletionChildThreads;
            ShowResults            = dicomThreadOptions.ShowResults;
            StyleSheetFullFileName = dicomThreadOptions.StyleSheetFullFileName;
        }
Exemple #2
0
 /// <summary>
 /// Copy the options from another instance.
 /// </summary>
 /// <param name="dicomThreadOptions">The other instance to copy from.</param>
 public void DeepCopyFrom(DicomThreadOptions dicomThreadOptions)
 {
     CopyFrom(dicomThreadOptions);
 }