Пример #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ItkImageReader"/> class.
        /// </summary>
        /// <param name="fileSystemStrategy">The file system strategy.</param>
        /// <param name="fileExtensionMapper">The file extension mapper.</param>
        public ItkImageReader(IFileSystemStrategy fileSystemStrategy, IFileExtensionMapper fileExtensionMapper)
            : base()
        {
            this.fileSystemStrategy  = fileSystemStrategy ?? throw new ArgumentNullException(nameof(fileSystemStrategy));
            this.fileExtensionMapper = fileExtensionMapper ?? throw new ArgumentNullException(nameof(fileExtensionMapper));

            itkUtil = new ItkUtil(fileSystemStrategy, fileExtensionMapper);
        }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ItkImageWriter"/> class.
 /// </summary>
 public ItkImageWriter()
 {
     itkUtil = new ItkUtil();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ItkImageReader"/> class.
 /// </summary>
 public ItkImageReader()
 {
     itkUtil = new ItkUtil();
 }