I want my interfaces to have property
IReadOnlyCollection<SomeType> Items { get; }
I also want this collection to be observable
INotifyCollectionChanged Items { get; }
But there is no way to declare duplicate properties.
I REALLY searched MSDN, googling for something like ReadOnlyObservableCollection or maybe IObservableCollection and didn't find anything. I really need this type of interface, so I will probably just introduce my own. But I don't want to invent a wheel here.
Question: I am right that there are no default C# interface that combines INotifyCollectionChanged and IEnumerable?
p.s. I know that there is ReadOnlyObservableCollection class out there, but one crucial detail here - it's not covariant like IReadOnlyCollection. And I do want this covariance