How to add one more intercept function on my service? It throw me a duplicate interceptattribute exception.

14 views
Skip to first unread message

imdav...@gmail.com

unread,
Feb 15, 2015, 9:54:14 PM2/15/15
to aut...@googlegroups.com
[Intercept("")]
[Intercept("")]
public interface ICommunityService
{
IEnumerable<Community> GetCommunities(string name);
}

This is my detail code snippet. I'm trying to add one more intercept
functions in my code. But it throw me a duplicate intercept attribute
exception.

I'm using Autofac.Extras.DynamicProxy2.

Could you please tell me what should I do?
Best Regards!

Travis Illig

unread,
Feb 17, 2015, 11:22:45 AM2/17/15
to aut...@googlegroups.com, imdav...@gmail.com
You stumbled on an item that we fixed but apparently hadn't released the fix for.

I'll be pushing Autofac.Extras.DynamicProxy2 v3.0.5 shortly which will include the fix.
Reply all
Reply to author
Forward
0 new messages