C# Класс MapAround.DataProviders.RasterProviderManager

Represents a registry of raster providers.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetProvider() публичный Метод

Creates and initializes a new instance of the raster provider.
public GetProvider ( string providerName ) : IRasterProvider
providerName string A name of the spatial data provider
Результат IRasterProvider

GetProvider() публичный Метод

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
Результат IRasterProvider

GetProviderParameterNames() публичный Метод

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
Результат string[]

RegisterProvider() публичный Метод

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
Результат void

Registered() публичный Метод

Determines whether the raster provider is registered.
public Registered ( string providerName ) : bool
providerName string A name of the raster provider
Результат bool

ReleaseProviderIfNeeded() публичный Метод

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
Результат void

UnRegisterProvider() публичный Метод

Removes registration info.
public UnRegisterProvider ( string providerName ) : void
providerName string A name of the raster provider
Результат void