User Tools

Site Tools


thinkgeo.mapsuite.core.featurecache

ThinkGeo.MapSuite.Core.FeatureCache

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

FeatureCache is a cache system used in FeatureSource to speed up the fetching data system.

Inheritance Hierarchy

  • System.Object
    • ThinkGeo.MapSuite.Core.FeatureCache

Members Summary

Public Constructors

FeatureCache()

  • This is the default constructor that will create a new instance of the FeatureCache.
Remarks
  • The cache system is not used by default. If you want to use it, you must set the IsActive property to true.
Parameters

Protected Constructors

Public Methods

GetFeatures(RectangleShape)

  • This method returns a Collection of Features cached in the FeatureCache system. All of the returning features are within the BoundingBox and were fetched from FileSystem or DBSystem in a previous operation.
Remarks
  • This method is the concrete wrapper for the virtual method GetFeaturesCore. It will return whatever is returned by the GetBoundingBoxCore method. To determine what the default implementation of the abstract GetBoundingBoxCore method is, please see the documentation for it. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a Collection of Features cached in the FeatureCache system.
Parameters

Clear()

  • This method clears all of the CachedItems in this FeatureCache.
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

Add(RectangleShape,Collection<Feature>)

  • This method will add an item to the FeatureCache system by passing a WorldExtent as “Key” and a collection of features as its corresponding cached features.
Remarks
  • This method is the concrete wrapper for the virtual method AddCore. It will return whatever is returned by the AddCore method. To determine what the default implementation of the abstract AddCore method is, please see the documentation for it. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Void
  • Description:None.
Parameters
  • features
    • Type:Collection<Feature>
    • Description:N/A

Open()

  • The default implementation is to do nothing.
Remarks
  • This method is the concrete wrapper for the virtual method OpenCore. It will return whatever is returned by the OpenCore method. To determine what the default implementation of the abstract OpenCore method is, please see the documentation for it. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Void
  • Description:None.
Parameters

Close()

  • The default implementation is to do nothing.
Remarks
  • This method is the concrete wrapper for the virtual method CloseCore. It will return whatever is returned by the CloseCore method. To determine what the default implementation of the abstract CloseCore method is, please see the documentation for it. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Void
  • Description:None.
Parameters

IsExtentCached(RectangleShape)

  • This method determines whether the WorldExtent is already cached in the FeatureCache System.
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:True if the specified WorldExtent is already cached. Otherwise, returns false.
Parameters
  • worldExtent
    • Description:The target WorldExtent which will be determined as already cached or not.

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

GetFeaturesCore(RectangleShape)

  • This method returns a Collection of Features cached in the FeatureCache system. All of the returning features are within the BoundingBox and were fetched from FileSystem or DBSystem in a previous operation.
Remarks
  • This method is the concrete wrapper for the virtual method GetFeaturesCore. It will return whatever is returned by the GetBoundingBoxCore method. To determine what the default implementation of the abstract GetBoundingBoxCore method is, please see the documentation for it. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Collection<Feature>
  • Description:This method returns a Collection of Features cached in the FeatureCache system.
Parameters

AddCore(RectangleShape,Collection<Feature>)

  • This method will add an item to the FeatureCache system by passing a WorldExtent as “Key” and a collection of features as its corresponding cached features.
Remarks
  • This method is the concrete wrapper for the virtual method AddCore. It will return whatever is returned by the AddCore method. To determine what the default implementation of the abstract AddCore method is, please see the documentation for it. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Void
  • Description:None.
Parameters
  • features
    • Type:Collection<Feature>
    • Description:N/A

OpenCore()

  • The default implementation is to do nothing.
Remarks
  • This method is the concrete wrapper for the virtual method OpenCore. It will return whatever is returned by the OpenCore method. To determine what the default implementation of the abstract OpenCore method is, please see the documentation for it. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Void
  • Description:None.
Parameters

CloseCore()

  • The default implementation is to do nothing.
Remarks
  • This method is the concrete wrapper for the virtual method CloseCore. It will return whatever is returned by the CloseCore method. To determine what the default implementation of the abstract CloseCore method is, please see the documentation for it. As this is a concrete public method that wraps a Core method, we reserve the right to add events and other logic to pre- or post-process data returned by the Core version of the method. In this way, we leave our framework open on our end, but also allow you the developer to extend our logic to suit your needs. If you have questions about this, please contact our support team as we would be happy to work with you on extending our framework.
Return Value
  • Type:Void
  • Description:None.
Parameters

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

IsActive

This boolean property sepcifies whether cache system is active or not.

Remarks

N/A

Return Value
  • Type:Boolean

Protected Properties

Public Events

thinkgeo.mapsuite.core.featurecache.txt · Last modified: 2017/03/16 21:59 (external edit)