Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

ConfigurationExpression#For<> does not respect ActionNameAttribute #44

Closed
malixsys opened this Issue · 4 comments

2 participants

@malixsys

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

@kristofferahl

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

#40

@kristofferahl kristofferahl closed this issue from a commit
Kristoffer Ahl - Updated release notes.
Closes #44
Closes #40
1e780b0
@kristofferahl

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

@kristofferahl

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

@malixsys

Superb! Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.