Class IOManager
Abstract manager class for file and directory based I/O.
Inherited Members
Namespace: Dicom.IO
Assembly: cs.temp.dll.dll
Syntax
public abstract class IOManager
Properties
BaseEncoding
Gets the base encoding for the current platform.
Declaration
public static Encoding BaseEncoding { get; }
Property Value
Type | Description |
---|---|
Encoding |
BaseEncodingImpl
Implementation of the base encoding getter.
Declaration
protected abstract Encoding BaseEncodingImpl { get; }
Property Value
Type | Description |
---|---|
Encoding |
Path
Gets the path helper implementation.
Declaration
public static IPath Path { get; }
Property Value
Type | Description |
---|---|
IPath |
PathImpl
Gets the platform-specific path helper implementation.
Declaration
protected abstract IPath PathImpl { get; }
Property Value
Type | Description |
---|---|
IPath |
Methods
CreateDirectoryReference(String)
Create a directory reference.
Declaration
public static IDirectoryReference CreateDirectoryReference(string directoryName)
Parameters
Type | Name | Description |
---|---|---|
String | directoryName | Name of the directory. |
Returns
Type | Description |
---|---|
IDirectoryReference | A directory reference object. |
CreateDirectoryReferenceImpl(String)
Platform-specific implementation to create a directory reference.
Declaration
protected abstract IDirectoryReference CreateDirectoryReferenceImpl(string directoryName)
Parameters
Type | Name | Description |
---|---|---|
String | directoryName | Name of the directory. |
Returns
Type | Description |
---|---|
IDirectoryReference | A directory reference object. |
CreateFileReference(String)
Create a file reference.
Declaration
public static IFileReference CreateFileReference(string fileName)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | Name of the file. |
Returns
Type | Description |
---|---|
IFileReference | A file reference object. |
CreateFileReferenceImpl(String)
Platform-specific implementation to create a file reference.
Declaration
protected abstract IFileReference CreateFileReferenceImpl(string fileName)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | Name of the file. |
Returns
Type | Description |
---|---|
IFileReference | A file reference object. |
SetImplementation(IOManager)
Set I/O manager implementation to use for file/directory reference initialization.
Declaration
public static void SetImplementation(IOManager impl)
Parameters
Type | Name | Description |
---|---|---|
IOManager | impl | I/O manager implementation to use. |