示例#1
0
 public MockMaterialsDatabase PrepareMaterialsDB()
 {
     var materialsDatabase = new MockMaterialsDatabase();
     Subscribe(Messages.REQUEST_MATERIALS_DATABASE, obj =>
         Publish(Messages.REQUEST_MATERIALS_DATABASE_RESPONSE, materialsDatabase));
     return materialsDatabase;
 }