C# Class MapAround.DataProviders.RasterProviderManager

Represents a registry of raster providers.
Afficher le fichier Open project: gkrsu/maparound.core

Méthodes publiques

Méthode Description
GetProvider ( string providerName ) : IRasterProvider

Creates and initializes a new instance of the raster provider.

GetProvider ( string providerName, string>.Dictionary parameters ) : IRasterProvider

Creates and initializes a new instance of the raster provider.

GetProviderParameterNames ( string providerName ) : string[]

Gets a list containing names of the initialization parameters of the raster provider.

RegisterProvider ( IRasterProviderHolder holder, bool forceUpdate ) : void

Registers a raster provider.

Registered ( string providerName ) : bool

Determines whether the raster provider is registered.

ReleaseProviderIfNeeded ( string providerName, IRasterProvider provider ) : void

Performs an actions need to be done for finalization of the raster provider.

Holders can provide various scenarious of disposing resources for raster providers of the same class.

UnRegisterProvider ( string providerName ) : void

Removes registration info.

Method Details

GetProvider() public méthode

Creates and initializes a new instance of the raster provider.
public GetProvider ( string providerName ) : IRasterProvider
providerName string A name of the spatial data provider
Résultat IRasterProvider

GetProvider() public méthode

Creates and initializes a new instance of the raster provider.
public GetProvider ( string providerName, string>.Dictionary parameters ) : IRasterProvider
providerName string A name of the raster provide
parameters string>.Dictionary A dictionary instance containing initialization parameter values
Résultat IRasterProvider

GetProviderParameterNames() public méthode

Gets a list containing names of the initialization parameters of the raster provider.
public GetProviderParameterNames ( string providerName ) : string[]
providerName string A name of the raster provider
Résultat string[]

RegisterProvider() public méthode

Registers a raster provider.
public RegisterProvider ( IRasterProviderHolder holder, bool forceUpdate ) : void
holder IRasterProviderHolder A holder of raster provider
forceUpdate bool A value indicating whether an existing registration info /// will be updated
Résultat void

Registered() public méthode

Determines whether the raster provider is registered.
public Registered ( string providerName ) : bool
providerName string A name of the raster provider
Résultat bool

ReleaseProviderIfNeeded() public méthode

Performs an actions need to be done for finalization of the raster provider.

Holders can provide various scenarious of disposing resources for raster providers of the same class.

public ReleaseProviderIfNeeded ( string providerName, IRasterProvider provider ) : void
providerName string A name of the raster provider
provider IRasterProvider A provider instance for finalization
Résultat void

UnRegisterProvider() public méthode

Removes registration info.
public UnRegisterProvider ( string providerName ) : void
providerName string A name of the raster provider
Résultat void