CanReadProperty/CanWriteProperty/CanExecuteMethod now accept a parameter of type IPropertyInfo.
Would it make sense to extend the IAuthorizeReadWrite interface by providing these method overloads?
I thought about that, and maybe they could be overloads. But the primary consumer of IAuthorizeReadWrite is the UI, and in most cases the UI will be using the string property name because that's how data binding works.
However, I can see where you might create a custom UI framework that was aware of IPropertyInfo fields and would use them, so this is probably a good suggestion, thanks!
Copyright (c) Marimer LLC