Generic method for creating a typed command with the provided parameters.
public virtual T CreateTypedCommand<T>(
IDicomCommandClientSessionProxy sessionProxy,
DicomDataSet requestDataSet
)
Public Overloads Overridable Function CreateTypedCommand(Of T As DicomCommand)( _
ByVal sessionProxy As IDicomCommandClientSessionProxy, _
ByVal requestDataSet As DicomDataSet _
) As T
public:
virtual _T^_ CreateTypedCommandgeneric<typename T>
(
IDicomCommandClientSessionProxy^ sessionProxy,
DicomDataSet^ requestDataSet
)
where T: DicomCommand
sessionProxy
The Leadtools.Dicom.Scp.IDicomCommandClientSessionProxy object which will be used to handle the communication with the client.
requestDataSet
The Leadtools.Dicom.DicomDataSet which is received with the client request.
T
The type of the returned DicomCommand. This type should be inherited from a DicomCommand.
Returns the created DicomCommand.
This method will try to create a DicomCommand with the given generic type. It will also pass the provided sessionProxy and requestDataSet to the command constructor.
If the method fails to create the command it will throw an exception.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document