FDO .NET API Reference Feature Data Objects
Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

OSGeo::FDO::ClientServices::ProviderRegistry Class Reference

Inherits OSGeo::FDO::Runtime::Disposable, and OSGeo::FDO::OSGeo::FDO::IProviderRegistry.

Inheritance diagram for OSGeo::FDO::ClientServices::ProviderRegistry:

[legend]
List of all members.

Detailed Description

The ProviderRegistry class supports registering, un-registering, and enumerating registered feature providers. ProviderRegistry is derived from interface IProviderRegistry.

Note:
This is not the MS-Windows registry.


Public Member Functions

OSGeo::FDO::ClientServices::ProviderCollectionGetProviders ()
 Gets a read only collection of information describing each of the registered feature providers.
System::Void RegisterProvider (String *name, String *displayName, String *description, String *version, String *fdoVersion, String *libraryPath, System::Boolean isManaged)
 Registers a provider given the necessary information to register the provider. If any of the parameters are missing or invalid, an exception is thrown.
System::Void UnregisterProvider (String *name)
 Unregisters the provider with the specified name.

Protected Member Functions

System::Void ReleaseUnmanagedObject ()
 DOXYGEN-IGNORE

Member Function Documentation

OSGeo ::FDO ::ClientServices ::ProviderCollection* OSGeo::FDO::ClientServices::ProviderRegistry::GetProviders  ) 
 

Gets a read only collection of information describing each of the registered feature providers.

Returns:
Returns an an instance of ProviderCollection. Throws an instance of Exception if an error occurs.

System::Void OSGeo::FDO::ClientServices::ProviderRegistry::RegisterProvider String *  name,
String *  displayName,
String *  description,
String *  version,
String *  fdoVersion,
String *  libraryPath,
System::Boolean  isManaged
 

Registers a provider given the necessary information to register the provider. If any of the parameters are missing or invalid, an exception is thrown.

Parameters:
name The unique name of the feature provider. This name should be of the form [Company].[Provider].[Version].
displayName A user friendly display name of the feature provider.
description A brief description of the feature provider.
version The version of the feature provider. The version number string has the form [VersionMajor].[VersionMinor].[BuildMajor].[BuildMinor].
fdoVersion The version of the feature data objects specification the feature provider conforms to. The version number string has the form [VersionMajor].[VersionMinor].[BuildMajor].[BuildMinor].
libraryPath The FULL library path + library name of the provider.
isManaged A flag indicating if the provider is a managed or unmanaged .Net provider.
Returns:
Returns nothing. Throws an instance of Exception if an error occurs.

System::Void OSGeo::FDO::ClientServices::ProviderRegistry::ReleaseUnmanagedObject  )  [protected, virtual]
 

DOXYGEN-IGNORE

Reimplemented from OSGeo::FDO::Runtime::Disposable.

System::Void OSGeo::FDO::ClientServices::ProviderRegistry::UnregisterProvider String *  name  ) 
 

Unregisters the provider with the specified name.

Parameters:
name The unique name of the feature provider. This name should be of the form [Company].[Provider].[Version].
Returns:
Returns nothing. Throws an instance of Exception if an error occurs.

Comments or suggestions? Send us feedback.