I am looking at following 2 examples, in the first example A lister is used to retrieve the item.
In the second example , an index is used.
I am wondering which is the preferred way and way to retrieve an element from the local cache.
I am looking at following 2 examples, in the first example A lister is used to retrieve the item.
In the second example , an index is used.
I am wondering which is the preferred way and way to retrieve an element from the local cache.
The examples you showed above, they both use indexer, if you go deeper you will see it.
For First example (see here)
For second example