public void StartMailboxes()
        {
            with(FSHelper.StartUserMailbox(this, Parent, actorFn, setupFn), (q, mb) =>
            {
                userMailboxQuit = q;
                userMailbox     = mb;
            });

            with(FSHelper.StartSystemMailbox(this, Parent), (q, mb) =>
            {
                systemMailboxQuit = q;
                systemMailbox     = mb;
            });
        }
Beispiel #2
0
        /// <summary>
        /// Creates a user and system mailbox
        /// </summary>
        private void StartMailboxes()
        {
            map(FSHelper.StartUserMailbox(this, Parent, actorFn, setupFn), (q, mb) =>
            {
                userMailboxQuit = q;
                userMailbox     = mb;
            });

            map(FSHelper.StartSystemMailbox(this, Parent), (q, mb) =>
            {
                systemMailboxQuit = q;
                systemMailbox     = mb;
            });
        }