IActorFactory
Factory interface for creating typed actor instances.
Namespace: ControlBee.Interfaces
Methods
Create<T>
Creates a new actor instance of the specified type.
T Create<T>(string actorName, params object?[]? args) where T : IActorInternal;
Parameters:
actorName— The unique name to assign to the actor.args— Optional constructor arguments for the actor.
Returns: A new actor instance of type T.