Is it possible to insert interaction type in F #?
At first I do not see the possibility of doing this in the links.
Secondly, if I embed a type in C #, it tells me to refer to an interface, not a specific class:
//DBEngine is the interface DBEngineClass is the concrete class //if I dont embed the interop //Valid var dbe = new Microsoft.Office.Interop.Access.Dao.DBEngineClass(); //Valid var dbe = new Microsoft.Office.Interop.Access.Dao.DBEngine(); //if I do embed the interop //Invalid var dbe = new Microsoft.Office.Interop.Access.Dao.DBEngineClass(); //Valid var dbe = new Microsoft.Office.Interop.Access.Dao.DBEngine();
However, F # always wants to have a reference to a specific class. Is there any way around this?
source share