GetInstance Method

Summary
Creates a new instance of the CatalogFactory class.
Syntax
C#
VB
C++
  
Public Shared Function GetInstance( _ 
   ByVal configView As IDataAccessConfigurationView _ 
) As CatalogFactory 
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

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.DataAccessLayer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.