What is purpose of ICoreInstanceOwner

569
2
05-18-2020 02:10 AM
AurelVlaicu
New Contributor

I am just wondering what is the purpose of the ICoreInstanceOwner interface which seems to be implemented by some of the key classes in the SDK.   I guess it is an internal implementation detail and typically as a developer I won't work with it directly, but thought to ask.

0 Kudos
2 Replies
MichaelBranscomb
Esri Frequent Contributor

Hi,

`ICoreInstanceOwner` is effectively an internal interface that supports tracking of managed and native object instances in ArcGIS Runtime.

Thanks

Mike

0 Kudos
dotMorten_esri
Esri Notable Contributor

As Mike points out it's something we use internally. In fact the interface doesn't actually do anything at all (it doesn't even have any members), but is merely a way to tag certain classes so we can reuse some internal plumbing among many classes. Because it's internal, you shouldn't even see this interface appear anywhere, so I'm curious how you even stumbled on this.

0 Kudos