C# 클래스 MapAround.DataProviders.SpatialDataProviderManager

Represents a registry of spatial data providers.
파일 보기 프로젝트 열기: gkrsu/maparound.core

공개 메소드들

메소드 설명
GetProvider ( string providerName ) : ISpatialDataProvider

Creates and initializes a new instance of the spatial data provider.

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

Creates and initializes a new instance of the spatial data provider.

GetProviderParameterNames ( string providerName ) : string[]

Gets a list containing names of the initialization parameters of the spatial data provider.

RegisterProvider ( ISpatialDataProviderHolder holder, bool forceUpdate ) : void

Registers a spatial data provider.

Registered ( string providerName ) : bool

Determines whether the data provider is registered.

ReleaseProviderIfNeeded ( string providerName, ISpatialDataProvider provider ) : void

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

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

UnRegisterProvider ( string providerName ) : void

Removes registration info.

메소드 상세

GetProvider() 공개 메소드

Creates and initializes a new instance of the spatial data provider.
public GetProvider ( string providerName ) : ISpatialDataProvider
providerName string A name of the spatial data provider
리턴 ISpatialDataProvider

GetProvider() 공개 메소드

Creates and initializes a new instance of the spatial data provider.
public GetProvider ( string providerName, string>.Dictionary parameters ) : ISpatialDataProvider
providerName string A name of the spatial data provide
parameters string>.Dictionary A dictionary instance containing initialization parameter values
리턴 ISpatialDataProvider

GetProviderParameterNames() 공개 메소드

Gets a list containing names of the initialization parameters of the spatial data provider.
public GetProviderParameterNames ( string providerName ) : string[]
providerName string A name of the spatial data provider
리턴 string[]

RegisterProvider() 공개 메소드

Registers a spatial data provider.
public RegisterProvider ( ISpatialDataProviderHolder holder, bool forceUpdate ) : void
holder ISpatialDataProviderHolder A holder of spatial data provider
forceUpdate bool A value indicating whether an existing registration info /// will be updated
리턴 void

Registered() 공개 메소드

Determines whether the data provider is registered.
public Registered ( string providerName ) : bool
providerName string A name of the spatial data provider
리턴 bool

ReleaseProviderIfNeeded() 공개 메소드

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

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

public ReleaseProviderIfNeeded ( string providerName, ISpatialDataProvider provider ) : void
providerName string A name of the spatial data provider
provider ISpatialDataProvider A provider instance for finalization
리턴 void

UnRegisterProvider() 공개 메소드

Removes registration info.
public UnRegisterProvider ( string providerName ) : void
providerName string A name of the spatial data provider
리턴 void