You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

IContact vs Contact difference/best practice

Accepted answer
15
Views
6
Comments
edited Jan 3, 2019 7:43PM in UI Extensibility 6 comments

Summary

Trying to understand when to use which object

Content

This one has tripped me up on a number of occasions and I go down a rabbit hole every time I run into this blocker. I'm trying to understand when you would use I<Object> vs just <Object> It seems like the methods available and even the attributes available to each of these objects change based on cast. You can't cast back and forth between them, so I always end up having a problem where I need to hit an attribute of an i<object> that isn't as clearly exposed, or i need to iterate through an <object> which doesn't have iterable

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!