C# Class MapAround.DataProviders.RasterProviderManager

Represents a registry of raster providers.
Exibir arquivo Open project: gkrsu/maparound.core

Public Methods

Method 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 method

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

GetProvider() public method

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
return IRasterProvider

GetProviderParameterNames() public method

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
return string[]

RegisterProvider() public method

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
return void

Registered() public method

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

ReleaseProviderIfNeeded() public method

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
return void

UnRegisterProvider() public method

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