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(); }
private Request <RegistrationWorld, RegisterParkingGuest> new_request() { var trigger = new RegisterParkingGuest(Guid.NewGuid(), "kooldave98"); return(new Request <RegistrationWorld, RegisterParkingGuest>(RegistrationWorld.seed_world(), trigger)); }
private Request <RegistrationWorld, RegisterParkingHost> new_request() { var trigger = new RegisterParkingHost("kooldave98", "*****@*****.**"); return(new Request <RegistrationWorld, RegisterParkingHost>(RegistrationWorld.seed_world(), trigger)); }