コード例 #1
0
        public void An_active_auction()
        {
            Id = CombGuid.Generate();

            var factory = new DelegateActorFactory <Auction>(() => new ThreadPoolFiber(),
                                                             () => new TimerScheduler(new ThreadPoolFiber()),
                                                             (f, s, i) => new Auction(f, i, Id));

            Auction = factory.GetActor();
        }
コード例 #2
0
        public void An_active_auction()
        {
            Id = CombGuid.Generate();

            var factory = new DelegateActorFactory<Auction>(() => new ThreadPoolFiber(),
                                                            () => new TimerScheduler(new ThreadPoolFiber()),
                                                            (f, s, i) => new Auction(f, i, Id));

            Auction = factory.GetActor();
        }