public static void ReplaceItemTest() { string[] anArray = new string[] { "one", "two", "three", "four" }; ObservableCollection <string> collection = new ObservableCollection <string>((IEnumerable <string>)anArray); CollectionAndPropertyChangedTester helper = new CollectionAndPropertyChangedTester(); helper.ReplaceItemTest(collection, 1, "seven"); helper.ReplaceItemTest(collection, 3, "zero"); }
public static void ReplaceItemTest() { string[] anArray = new string[] { "one", "two", "three", "four" }; ObservableCollection<string> collection = new ObservableCollection<string>((IEnumerable<string>)anArray); CollectionAndPropertyChangedTester helper = new CollectionAndPropertyChangedTester(); helper.ReplaceItemTest(collection, 1, "seven"); helper.ReplaceItemTest(collection, 3, "zero"); }