Browse Source

Unsubscribing event from ListWrapper is responsible of the user by disposing. ListView does it.

BDisp 1 năm trước cách đây
mục cha
commit
254c1bbf44
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      UnitTests/Views/ListViewTests.cs

+ 1 - 1
UnitTests/Views/ListViewTests.cs

@@ -1024,7 +1024,7 @@ Item 6",
     }
 
     [Fact]
-    public void ListWrapper_CollectionChanged_Event_UnSubscribe_Previous_If_New_Is_Null ()
+    public void ListWrapper_CollectionChanged_Event_UnSubscribe_Previous_Is_Disposed ()
     {
         var added = 0;
         var removed = 0;