Exemple #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();
        }
Exemple #2
0
        private Request <RegistrationWorld, RegisterParkingGuest> new_request()
        {
            var trigger = new RegisterParkingGuest(Guid.NewGuid(), "kooldave98");

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

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