예제 #1
0
        /// <summary>
        /// Obsolete class, use the classes in the namespace DvtkHighLevelInterface.Common.Compare instead.
        /// </summary>
        /// <param name="attributeSets">-</param>
        /// <param name="validationRuleLists">-</param>
        internal protected void AddAttributeSetsInformationUsingDynamicCompare(ArrayList attributeSets, ArrayList validationRuleLists)
        {
            //
            // Iterate through all attributes of all AttributeSets.
            //

            GeneratorDynamicCompare generatorDynamicCompare = new GeneratorDynamicCompare(attributeSets, validationRuleLists);

            DicomAttributesToValidate dicomAttributesToValidate = null;

            while ((dicomAttributesToValidate = generatorDynamicCompare.GetNextAttributes()) != null)
            {
                AddAttributesInformation(dicomAttributesToValidate);

                if (this.addEmptyRowAfterEachDynamicComparedList)
                {
                    NewRow();

                    for (int columnIndex = 0; columnIndex < this.numberOfColumns; columnIndex++)
                    {
                        SetCellOK(columnIndex + 1, ".");
                    }
                }
            }
        }
예제 #2
0
파일: CompareBase.cs 프로젝트: ewcasas/DVTK
        /// <summary>
        /// Obsolete class, use the classes in the namespace DvtkHighLevelInterface.Common.Compare instead.
        /// </summary>
        /// <param name="attributeSets">-</param>
        /// <param name="validationRuleLists">-</param>
        protected internal void AddAttributeSetsInformationUsingDynamicCompare(ArrayList attributeSets, ArrayList validationRuleLists)
        {
            //
            // Iterate through all attributes of all AttributeSets.
            //

            GeneratorDynamicCompare generatorDynamicCompare = new GeneratorDynamicCompare(attributeSets, validationRuleLists);

            DicomAttributesToValidate dicomAttributesToValidate = null;

            while ((dicomAttributesToValidate = generatorDynamicCompare.GetNextAttributes()) != null)
            {
                AddAttributesInformation(dicomAttributesToValidate);

                if (this.addEmptyRowAfterEachDynamicComparedList)
                {
                    NewRow();

                    for (int columnIndex = 0; columnIndex < this.numberOfColumns; columnIndex++)
                    {
                        SetCellOK(columnIndex + 1, ".");
                    }
                }
            }
        }