I find myself quite often implementing content respositories where I fetch content of a certain type from a specific root. Then I cache the result (the references) and handling the cache invalidating manually when new content of that type under that root is created, deleted, moved and so on.
It would be cool if this was a standard functionality in IContentRepository, e.g.:
And the method would only return content of the specified type, i.e. not throw an exception if there are other types under that root.
Btw GetDescendents is misspelled in the API.
+1 on this request. That would be nice to have it return only given type