WinRT fundamentals - IObservableVectorView and IObservableMapView #3927
Unanswered
JaiganeshKumaran
asked this question in
General
Replies: 1 comment
-
Technically, as IObservableVector and IObservableMap do not inherit from IVector and IMap respectively but only require it (as interface inheritance is unsupported in WinRT), it should be possible to have a class that implements these without implementing IVector or IMap and instead only implementing IVectorView and IMapView. This is not a great solution, however, since users who get an IObservableMap or IObservableMap would expect to and will probably query for IVector or IMap, which won't work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
microsoft/xlang#789
Currently WinRT lacks read-only versions of IObservableVector and IObservableMap - making it impossible to expose an observable collection that should now mutated from the outside.
Beta Was this translation helpful? Give feedback.
All reactions