Leadtools.Medical.DataAccessLayer Namespace > CatalogFactory Class : GetInstance Method |
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 )
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.