Actions
Bug #4296
closed![Author: Michael Kay](https://www.gravatar.com/avatar/db6526d63053f09b62e52c2da8b2230a?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: O'Neil Delpratt](https://www.gravatar.com/avatar/a0bc1766b412d8fecb16f7d304916359?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
XdmEnumerator on .NET
Start date:
2019-08-23
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
9.9, trunk
Fix Committed on Branch:
9.9, trunk
Fixed in Maintenance Release:
Platforms:
Description
See also issue #4290.
The ExtensionFunctionDefinition/ExtensionFunctionCall
inferface on .NET requires user-written code to return an IXdmEnumerator
. However, we do not provide any useful ways of constructing an IXdmEnumerator
; we have implementations of this interface, but with the exception of EmptyEnumerator
, they are not exposed.
It would be useful (for starters) if XdmValue.Enumerate()
returned an IXdmEnumerator
rather than its superclass, IEnumerator<XdmItem>
. Alternatively we could relax the definition of ExtensionFunctionCall.Call()
so it is allowed to return any IEnumerator<XdmItem>
, not necessarily an IXdmEnumerator
.
Please register to edit this issue
Actions