LEADTOOLS Medical (Leadtools.Medical.DataAccessLayer assembly)
LEAD Technologies, Inc

GetInstance Method (CatalogFactory)






An Leadtools.Medical.DataAccessLayer.Configuration.IDataAccessConfigurationView object which contains configuration about the underlying type of the CatalogFactory to create.
Creates a new instance of the CatalogFactory class.
Syntax
public static CatalogFactory GetInstance( 
   IDataAccessConfigurationView configView
)
'Declaration
 
Public Shared Function GetInstance( _
   ByVal configView As IDataAccessConfigurationView _
) As CatalogFactory
'Usage
 
Dim configView As IDataAccessConfigurationView
Dim value As CatalogFactory
 
value = CatalogFactory.GetInstance(configView)
public static CatalogFactory GetInstance( 
   IDataAccessConfigurationView configView
)
 function Leadtools.Medical.DataAccessLayer.CatalogFactory.GetInstance( 
   configView 
)
public:
static CatalogFactory^ GetInstance( 
   IDataAccessConfigurationView^ configView
) 

Parameters

configView
An Leadtools.Medical.DataAccessLayer.Configuration.IDataAccessConfigurationView object which contains configuration about the underlying type of the CatalogFactory to create.

Return Value

An instance of the CatalogFactory type.
Remarks

The CatalogFactory will get the type to create from the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessSettings.CatalogFactory in the provided configView.
If no type is defined in the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessSettings.CatalogFactory the default CatalogFactory class will be created.

This allows developers to override the default factory used to create the Leadtools.Medical.DataAccessLayer.Catalog.ICatalog objects by providing their custom factories and take control of the creation method.

Example
For an example of using the CatalogFactory refer to the Event Log Viewer utility in the "Leadtools.Medical.Winforms" project.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CatalogFactory Class
CatalogFactory Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Medical.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features