예제 #1
0
 public MockServicesDatabase PrepareServicesDB()
 {
     var servicesDatabase = new MockServicesDatabase();
     Subscribe(Messages.REQUEST_SERVICES_DATABASE, obj =>
         Publish(Messages.REQUEST_SERVICES_DATABASE_RESPONSE, servicesDatabase));
     return servicesDatabase;
 }
예제 #2
0
        public MockServicesDatabase PrepareServicesDB()
        {
            var servicesDatabase = new MockServicesDatabase();

            Subscribe(Messages.REQUEST_SERVICES_DATABASE, obj =>
                      Publish(Messages.REQUEST_SERVICES_DATABASE_RESPONSE, servicesDatabase));
            return(servicesDatabase);
        }