ConfigurationExpression#For<> does not respect ActionNameAttribute #44

Closed
malixsys opened this Issue Oct 12, 2012 · 4 comments

Comments

Projects
None yet
2 participants

You could add:
var atts = ((MethodCallExpression)propertyExpression.Body).Method.GetCustomAttributes(typeof(ActionNameAttribute), false);
if(atts.Length > 0)
{
actionName = ((ActionNameAttribute) atts[0]).Name;
}

Owner

kristofferahl commented Oct 13, 2012

@Chandu has sent a pull-request to fix this. I'll be including ActionNameAttribute in the next alpha release.

#40

Owner

kristofferahl commented Oct 13, 2012

The pull-request has been merged. Will be included in the next alpha release.

Owner

kristofferahl commented Oct 21, 2012

There's now a fix for this issue. I just uploaded a new alpha version to nuget.
NuGet: https://nuget.org/packages/FluentSecurity/2.0.0-alpha2

Superb! Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment