C# 클래스 Microsoft.RTConvert.MedIO.Readers.DicomFileAndPath

Read only tuple of DicomFile and its original path
파일 보기 프로젝트 열기: microsoft/InnerEye-DICOM-RT 1 사용 예제들

공개 메소드들

메소드 설명
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