views:

37

answers:

0

I would like to inject a base class to any proxy class with a an attribute.
For example:

public class Base
{
}

[SomeAttribute()]
public class Foo
{
}

public class Bar
{
}

If Foo doesn't inherit from base, inject it however Bar shouldn't be injected with base.
Anyone got a clue?