BHoM / BHoM_Adapter

GNU Lesser General Public License v3.0
7 stars 5 forks source link

BHoM_Adapter: Additional Read and ReadResults methods are not called by abstract adapter #165

Closed IsakNaslundBh closed 4 years ago

IsakNaslundBh commented 4 years ago

Description:

When adding a methods such as public IEnumerable<IResult> ReadResults(BarResultRequest request)

It is not being called by the adapter.

Fix to this seem to be to cast the adapter as dynamic before making those calls.

How to replicate:

Override Read/ReadResults with a custom Request

Expected behaviour:

For the method to be called