C# Class MapAround.DataProviders.RasterProviderHolderBase

MapAround.DataProviders.RasterProviderHolderBase is the base class for the data provider holding classes. Instances of these classes contains the providers registration info, initialization parameters and defines the resource menegement by implementing the ReleaseProviderIfNeeded method.
Inheritance: IRasterProviderHolder
Mostrar archivo Open project: gkrsu/maparound.core

Protected Properties

Property Type Description
GetProviderMethod RasterProviderRetriever

Public Methods

Method Description
GetParameterNames ( ) : string[]

Gets paramater names.

GetProvider ( ) : IRasterProvider

Gets the raster provider.

ReleaseProviderIfNeeded ( IRasterProvider provider ) : void

Performs a finalization procedure for the raster provider, if needed.

SetParameters ( string>.Dictionary parameters ) : void

Sets paramater values.

Protected Methods

Method Description
RasterProviderHolderBase ( string name ) : System

Initializes a new instance of MapAround.DataProviders.RasterProviderHolderBase.

Method Details

GetParameterNames() public abstract method

Gets paramater names.
public abstract GetParameterNames ( ) : string[]
return string[]

GetProvider() public method

Gets the raster provider.
public GetProvider ( ) : IRasterProvider
return IRasterProvider

RasterProviderHolderBase() protected method

Initializes a new instance of MapAround.DataProviders.RasterProviderHolderBase.
protected RasterProviderHolderBase ( string name ) : System
name string Name
return System

ReleaseProviderIfNeeded() public abstract method

Performs a finalization procedure for the raster provider, if needed.
public abstract ReleaseProviderIfNeeded ( IRasterProvider provider ) : void
provider IRasterProvider Spatial data provider instance
return void

SetParameters() public abstract method

Sets paramater values.
public abstract SetParameters ( string>.Dictionary parameters ) : void
parameters string>.Dictionary Dictionary that contains parameter values
return void

Property Details

GetProviderMethod protected_oe property

References to the method that returns an IRasterProvider instance.
protected RasterProviderRetriever GetProviderMethod
return RasterProviderRetriever