2.1.4 Feature Request
Old forum URL: forums.lhotka.net/forums/t/2249.aspx
ajj3085 posted on Wednesday, January 31, 2007
Hi,
Rocky, do you think you could add a few minor features to the next version?
Specifically, a constructor on RuleArgs that accepts a Severity setting, and a CanExecuteMethod, which works similar to CanReadProperty / CanWriteProperty. I think SonOfPirate has also added a CanExecuteMethod to his framework as well.
I have added this to the base framework and they have helped me quite a bit. I can supply the code for the changes I made if y ou think those are good additions...
Andy
RockfordLhotka replied on Wednesday, January 31, 2007
I put these on my
wish list.
JoeFallon1 replied on Wednesday, January 31, 2007
I agree with the RuleArgs constructor. I added it to my base classes derived from RuleArgs and it makes writing "1 line rule args" a lot simpler. This is instead of creating the RuleArgs instance, and setting the severity and then using that in your rule.
Andy and I mentioned this enhancement Oct. 20, 2006. Wish it could have made it into 2.1.2 since it so easy to implement with no backward compatibility issues.
Joe
Copyright (c) Marimer LLC