예제 #1
0
        static void Main(string[] args)
        {
            var context_name = Registration.Interface.NameService.ContextName;
            var seed_world   = RegistrationWorld.seed_world();

            new ServiceBootstrap <RegistrationWorld>(context_name, seed_world)
            .replay()
            .listen_to(Gateway.Interface.NameService.ContextName)
            .StartService();
        }
예제 #2
0
        private Request <RegistrationWorld, RegisterParkingGuest> new_request()
        {
            var trigger = new RegisterParkingGuest(Guid.NewGuid(), "kooldave98");

            return(new Request <RegistrationWorld, RegisterParkingGuest>(RegistrationWorld.seed_world(), trigger));
        }
예제 #3
0
        private Request <RegistrationWorld, RegisterParkingHost> new_request()
        {
            var trigger = new RegisterParkingHost("kooldave98", "*****@*****.**");

            return(new Request <RegistrationWorld, RegisterParkingHost>(RegistrationWorld.seed_world(), trigger));
        }