C# Класс Microsoft.RTConvert.MedIO.Readers.DicomFileAndPath

Read only tuple of DicomFile and its original path
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DicomFileAndPath ( DicomFile dicomFile, string path ) : System

Creates a new instance of the class.

SafeCreate ( Stream stream, string path ) : DicomFileAndPath

Create a DicomFileAndPath from a stream and path

SafeCreate ( string path ) : DicomFileAndPath

Create a DicomFileAndPath from a path to a folder

SaveToFolder ( string folder ) : string

Saves the Dicom file to the given folder. The filename is read from the Path property, which must be non-empty. Returns the full filename (folder plus filename) to which the file was saved.

Описание методов

DicomFileAndPath() публичный Метод

Creates a new instance of the class.
public DicomFileAndPath ( DicomFile dicomFile, string path ) : System
dicomFile DicomFile The value to use for the File property of the object.
path string The value to use for the Path property of the object.
Результат System

SafeCreate() публичный статический Метод

Create a DicomFileAndPath from a stream and path
public static SafeCreate ( Stream stream, string path ) : DicomFileAndPath
stream Stream
path string
Результат DicomFileAndPath

SafeCreate() публичный статический Метод

Create a DicomFileAndPath from a path to a folder
public static SafeCreate ( string path ) : DicomFileAndPath
path string
Результат DicomFileAndPath

SaveToFolder() публичный Метод

Saves the Dicom file to the given folder. The filename is read from the Path property, which must be non-empty. Returns the full filename (folder plus filename) to which the file was saved.
public SaveToFolder ( string folder ) : string
folder string The directory into which the Dicom file should be saved. The directory must exist already.
Результат string