示例#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);
        }