C# Класс MapAround.Caching.WebCacheAccessor

Provide access to caching features in the System.Web.Caching.Cache.
Наследование: FeatureCollectionCacheAccessorBase
Показать файл Открыть проект

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

Метод Описание
Clear ( ) : void

Removes all collections corresponding to the current Key from cache.

WebCacheAccessor ( Cache cache ) : System.Text

Initializes a new instance of the MapAround.Caching.WebCacheAccessor

Защищенные методы

Метод Описание
AddOrReplaceAttributeNames ( IList attributeNames ) : void

Saves an attribute list into cache.

AddOrReplaceCollection ( ICollection features, FeatureType featureType ) : void

Adds a collection to the cache or replaces it.

AddOrReplaceIndex ( ISpatialIndex index, FeatureType featureType ) : void

Adds a feature index to the cache or replaces it.

CheckKeyString ( string key ) : bool

Checks a value for validity when using as the access key.

ExtractAttributeNames ( ) : IList

Extracts an attribute list from cache.

ExtractCollection ( FeatureType featureType ) : Collection

Extracts a collection from cache.

ExtractIndex ( FeatureType featureType ) : ISpatialIndex

Extracts a feature index from cache.

Приватные методы

Метод Описание
checkCache ( ) : void
featureTypeSubKey ( FeatureType featureType ) : string

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

AddOrReplaceAttributeNames() защищенный Метод

Saves an attribute list into cache.
protected AddOrReplaceAttributeNames ( IList attributeNames ) : void
attributeNames IList Attribute list
Результат void

AddOrReplaceCollection() защищенный Метод

Adds a collection to the cache or replaces it.
protected AddOrReplaceCollection ( ICollection features, FeatureType featureType ) : void
features ICollection Feature collection
featureType FeatureType Feature type
Результат void

AddOrReplaceIndex() защищенный Метод

Adds a feature index to the cache or replaces it.
protected AddOrReplaceIndex ( ISpatialIndex index, FeatureType featureType ) : void
index ISpatialIndex Spatial index
featureType FeatureType Feature type
Результат void

CheckKeyString() защищенный Метод

Checks a value for validity when using as the access key.
protected CheckKeyString ( string key ) : bool
key string Value need to be checked
Результат bool

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

Removes all collections corresponding to the current Key from cache.
public Clear ( ) : void
Результат void

ExtractAttributeNames() защищенный Метод

Extracts an attribute list from cache.
protected ExtractAttributeNames ( ) : IList
Результат IList

ExtractCollection() защищенный Метод

Extracts a collection from cache.
protected ExtractCollection ( FeatureType featureType ) : Collection
featureType FeatureType Type of features in the collection
Результат Collection

ExtractIndex() защищенный Метод

Extracts a feature index from cache.
protected ExtractIndex ( FeatureType featureType ) : ISpatialIndex
featureType FeatureType Feature type
Результат ISpatialIndex

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

Initializes a new instance of the MapAround.Caching.WebCacheAccessor
public WebCacheAccessor ( Cache cache ) : System.Text
cache System.Web.Caching.Cache A System.Web.Caching.Cache instance
Результат System.Text