AuthorizationRule and overriding CacheResult

AuthorizationRule and overriding CacheResult

Old forum URL: forums.lhotka.net/forums/t/11647.aspx


Curelom posted on Friday, October 19, 2012

With Authorization Rules it looks like I can no longer override the CacheResult property.  Is this no longer necessary?  How do I control the caching of the rule?

JonnyBee replied on Friday, October 19, 2012

To create a more consistent programming model the CacheResult is changed to a property and should be set in the constructor of your rule.

Once the rule is created this property should never be cheanged.  

Copyright (c) Marimer LLC