LEADTOOLS Medical (Leadtools.Dicom.Scp assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
GetInstance(IConfigurationSource) Method
See Also 
Leadtools.Dicom.Scp.Command Namespace > DicomCommandFactory Class > GetInstance Method : GetInstance(IConfigurationSource) Method



configSource
The Microsoft.Practices.EnterpriseLibrary.Common.Configuration.IConfigurationSource object that will be used to create the Leadtools.Dicom.Scp.Command.Configuration.DicomCommandsSettings.
Returns an instance of the Leadtools.Dicom.Scp.Command.DicomCommandFactory class.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function GetInstance( _
   ByVal configSource As IConfigurationSource _
) As DicomCommandFactory
Visual Basic (Usage)Copy Code
Dim configSource As IConfigurationSource
Dim value As DicomCommandFactory
 
value = DicomCommandFactory.GetInstance(configSource)
C# 
public static DicomCommandFactory GetInstance( 
   IConfigurationSource configSource
)
C++/CLI 
public:
static DicomCommandFactory^ GetInstance( 
   IConfigurationSource^ configSource
) 

Parameters

configSource
The Microsoft.Practices.EnterpriseLibrary.Common.Configuration.IConfigurationSource object that will be used to create the Leadtools.Dicom.Scp.Command.Configuration.DicomCommandsSettings.

Return Value

An instance of the Leadtools.Dicom.Scp.Command.DicomCommandFactory class.

Remarks

This method returns a singleton instance that is created from the type defined in DicomCommandFactory. If there is no type defined a default instance will be created.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Scp requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features