define actor:
var props = Props.FromProducer(() => actor);var props = Props.FromFunc(context => { ... });
configure actor:
props.WithDispatcher(dispatcher);props.WithMailbox(() => mailbox);props.WithSupervisor(strategy);props.WithSenderMiddleware(middleware[]);props.WithReceiveMiddleware(middleware[]);