class BaseClass
{
[Inject]
public virtual void InjectPublic(int value)
{
// do...
}
}
class SubClass : BaseClass
{
[Inject] // If use the [Inject] attribute several times, the injection will also happen several times.
public override void InjectPublic(int value)
{
// do...
}
}
In addition to issue https://github.com/hadashiA/VContainer/issues/496