This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
thinkgeo.mapsuite.portablecore.featurecache [2015/09/23 01:34] admin |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== ThinkGeo.MapSuite.Core.FeatureCache ====== | ||
- | 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 ==== | ||
- | ** {{wiki:PublicMethod.gif|}} 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 == | ||
- | <div newline></div> | ||
- | ==== Protected Constructors ==== | ||
- | ==== Public Methods ==== | ||
- | ** {{wiki:PublicMethod.gif|}} 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<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | ||
- | * Description:This method returns a Collection of Features cached in the FeatureCache system. | ||
- | |||
- | == Parameters == | ||
- | * //worldExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} Clear() ** | ||
- | |||
- | * //This method clears all of the CachedItems in this FeatureCache.// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} 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 == | ||
- | * //worldExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | * //features// | ||
- | * Type:Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} 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 == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} 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 == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} 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// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:The target WorldExtent which will be determined as already cached or not. | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} ToString() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:String | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} Equals(Object) ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Boolean | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | * //obj// | ||
- | * Type:Object | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} GetHashCode() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Int32 | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:PublicMethod.gif|}} GetType() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Type | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ==== Protected Methods ==== | ||
- | ** {{wiki:ProtectedMethod.gif|}} 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<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | ||
- | * Description:This method returns a Collection of Features cached in the FeatureCache system. | ||
- | |||
- | == Parameters == | ||
- | * //worldExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
- | * //worldExtent// | ||
- | * Type:[[ThinkGeo.MapSuite.Core.RectangleShape|RectangleShape]] | ||
- | * Description:N/A | ||
- | |||
- | * //features// | ||
- | * Type:Collection<[[ThinkGeo.MapSuite.Core.Feature|Feature]]> | ||
- | * Description:N/A | ||
- | |||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} 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 == | ||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} Finalize() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Void | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ** {{wiki:ProtectedMethod.gif|}} MemberwiseClone() ** | ||
- | |||
- | * //N/A// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | |||
- | == Return Value == | ||
- | * Type:Object | ||
- | * Description:N/A | ||
- | |||
- | == Parameters == | ||
- | <div newline></div> | ||
- | ==== Public Properties ==== | ||
- | ** {{wiki:PublicProperty.gif|}} IsActive ** | ||
- | |||
- | * //This boolean property sepcifies whether cache system is active or not.// | ||
- | == Remarks == | ||
- | * //N/A// | ||
- | == Return Value == | ||
- | * Type:Boolean | ||
- | |||
- | ==== Protected Properties ==== | ||
- | ==== Public Events ==== | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.