Esempio n. 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PatientPhoto"/> class.
        /// </summary>
        /// <param name="patientPhotoType">Type of the patient photo.</param>
        /// <param name="picture">The picture.</param>
        public PatientPhoto( PatientPhotoType patientPhotoType, byte[] picture )
        {
            Check.IsNotNull ( patientPhotoType, "patientPhotoType is required." );
            Check.IsNotNull ( picture, "picture is required." );

            _patientPhotoType = patientPhotoType;
            _picture = picture;
        }
Esempio n. 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PatientPhoto"/> class.
        /// </summary>
        /// <param name="patientPhotoType">Type of the patient photo.</param>
        /// <param name="picture">The picture.</param>
        public PatientPhoto(PatientPhotoType patientPhotoType, byte[] picture)
        {
            Check.IsNotNull(patientPhotoType, "patientPhotoType is required.");
            Check.IsNotNull(picture, "picture is required.");

            _patientPhotoType = patientPhotoType;
            _picture          = picture;
        }