CustomDataSetContext Class
Gives an ICustomDataSet instance access to its proxy object.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CECustomObjects assembly)
Syntax
public class CustomDataSetContext : EngineObject,
ILockable
Remarks
An instance of this class is passed to a custom dataset in the ICustomDataSet.InitNew call. It gives the operator access to some properties of the proxy object.
Inheritance Hierarchy
System.Object
EngineObject
CustomDataSetContext
Platforms
Windows, Linux, Android
CustomDataSetContext Members
The CustomDataSetContext type has the following members.
Properties
Name | Description |
---|---|
Attributes | Gets the IReadAttributes.Attributes property of the proxy. |
ConfigurationPath | Gets the directory the configuration file was loaded from. |
Id | Gets a unique identifier for the associated CustomDataSetProxy. |
IsDisposed | Gets a value that tells whether the current CustomDataSetContext has been disposed. Inherited from EngineObject |
LibraryPath | Gets the directory the custom object was loaded from. |
NativeHandle | Gets the native Carmenta Engine kernel object the current CustomDataSetContext represents. Inherited from EngineObject |
ReadAttributes | Gets the IReadAttributes.ReadAttributes property of the proxy. |
SuggestedCrs | Gets the suggested coordinate reference system from the proxy. |
UserProperties | Gets the user-defined properties from the proxy. |
Methods
Name | Description |
---|---|
AddToCache | Adds an object to the Carmenta Engine global cache. |
Clone | Creates a copy of an object. Inherited from EngineObject |
Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
Equals | Determines whether this instance is equal to another. Inherited from EngineObject |
FireDataReady | Causes the view to request an update through its IMapControl instance. |
GetFromCache | Retrieves a cached object from the Carmenta Engine global cache. |
RefreshAllFeaturePresentation | Informs the containing layer that all of the features have been modified and any cached presentation needs to be updated. |
RefreshFeaturePresentation | Indicates that a feature in a custom dataset has changed, and its presentation needs to be updated. |
RemoveFeaturePresentation | Indicates that a feature previously returned by the dataset is about to be removed, and all cached information for it can be removed. |