Ejemplo n.º 1
0
        public MainActor(ISomeService someService, IChildCreatorActor childCreatorActor)
        {
            this.someService       = someService;
            this.childCreatorActor = childCreatorActor;

            Receive <bool>((x) => SendMessage(x));
        }
Ejemplo n.º 2
0
        public ParserActor(IChildCreatorActor childCreatorActor)
        {
            this.childCreatorActor = childCreatorActor;

            Receive <MainMessage>((x) => ParseMessage(x));
        }