AK1000: Need to add `IIndirectActorProducer` support for creating actor instances
Aaronontheweb opened this issue · comments
Need this to support things like DI et al:
private class TestProducer : IIndirectActorProducer
{
TestLatch latchActor;
public TestProducer(TestLatch lp, TestLatch la)
{
latchActor = la;
lp.Reset();
lp.CountDown();
}
public ActorBase Produce()
{
latchActor.CountDown();
return new PropsTestActor();
}
public Type ActorType
{
get { return typeof(PropsTestActor); }
}
public void Release(ActorBase actor)
{
actor = null;
}
}
This should not trigger AK1000
.
Resolved via #31