private bool IsDicomScuConfigValid(ScuConfiguration scuConfiguration)
        {
            var valid = ValidationExtensions.IsAeTitleValid("DicomAdapter>dicom>scu>aeTitle", scuConfiguration.AeTitle, _validationErrors);

            valid &= IsValueInRange("DicomAdapter>dicom>scu>max-associations", 1, 100, scuConfiguration.MaximumNumberOfAssociations);
            return(valid);
        }
        private bool IsDicomScuConfigValid(ScuConfiguration scuConfiguration, bool readAeTitlesFromCrd)
        {
            var valid = IsAeTitleValid("DicomAdapter>dicom>scu>aeTitle", scuConfiguration.AeTitle);

            valid &= IsValueInRange("DicomAdapter>dicom>scu>max-associations", 1, Int32.MaxValue, scuConfiguration.MaximumNumberOfAssociations);
            valid &= AreScuDestinationsValid(scuConfiguration.Destinations, readAeTitlesFromCrd);
            return(valid);
        }