merge master
This commit is contained in:
parent
591163e844
commit
a981b3121f
@ -49,6 +49,5 @@ namespace ObservableCollections
|
|||||||
|
|
||||||
public interface INotifyCollectionChangedSynchronizedView<out TView> : IReadOnlyCollection<TView>, INotifyCollectionChanged, INotifyPropertyChanged, IDisposable
|
public interface INotifyCollectionChangedSynchronizedView<out TView> : IReadOnlyCollection<TView>, INotifyCollectionChanged, INotifyPropertyChanged, IDisposable
|
||||||
{
|
{
|
||||||
void Refresh();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -309,7 +309,7 @@ internal class NotifyCollectionChangedSynchronizedView<T, TView> :
|
|||||||
|
|
||||||
static bool IsCompatibleObject(object? value)
|
static bool IsCompatibleObject(object? value)
|
||||||
{
|
{
|
||||||
return value is T || value == null && default(T) == null;
|
return value is TView || value == null && default(TView) == null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public bool IsReadOnly => true;
|
public bool IsReadOnly => true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user