add new issue       

Issue ID:  461     SortedBindingList should throw an exception if the sort-by property name doesn't exist      
Created by rocky on 2009-07-29 11:40 AM, 3040 days ago
Project:  CSLA .NET
Category:  enhancement
Priority:  [no priority]
Status:  closed
Feature area:Base classes
Version:4.0.x
  Entering "issue#999" in comment creates link to id 999

show inline images      show change history

comment 2003 posted by JonnyBee on 2010-01-11 5:46 PM, 2874 days ago 
Added private method SortedBindingList.GetPropertyDescriptor(string propertyName). This method will throw ArgumentException if propertyName has a value and the property is not found on type. Message is read  from Resources.

Method is called from:
 ApplySort(string propertyName, ListSortDirection direction) and
 Find(string propertyName, object key)

SortedBindListTests.cs is updated with new unit tests.
comment 1419 posted by rocky on 2009-07-29 11:40 AM, 3040 days ago 
http://forums.lhotka.net/forums/thread/35150.aspx