Interesting setup!
Quick question: would it be an option to use a surrogate object, i.e. make the XlsToMatrix function return something like a
SerializableMatrix would then have a Matrix property containing the actual matrix, and implement IXmlSerializable. This would be transparent to your serialization and invocation engine, but would mean that all functions used through this engine would pass around
Thanks,
Christoph
Quick question: would it be an option to use a surrogate object, i.e. make the XlsToMatrix function return something like a
SerializableMatrix<T>
instead of a Matrix<T>
?SerializableMatrix would then have a Matrix property containing the actual matrix, and implement IXmlSerializable. This would be transparent to your serialization and invocation engine, but would mean that all functions used through this engine would pass around
SerializableMatrix
instead of Matrix
.Thanks,
Christoph