J
Joannes Vermorel
I am currently implementing a scientific library in C#. The algorithms
include some system dependent tuning parameters (lets say memory vs. speed
parameters for example). Since, those parameters are quite numerous, it
would be cumbersome for the client of the library to be forced to provide
explicit values for all those parameters. Also, default parameters should be
provided by the library itself. But I would rather not "hard code" such
parameters. I think, a good solution would be somehow to ship a (XML)
configuration file along the library. This way, the default performance of
the library could still be tuned after compilation.
To do this, there are a lot of dirty home-made solutions. But I think, this
issue should have some classical solutions (using System.Resource or
System.Configuration ???). Does someone have a convenient solution for this
problem ?
Thank you for the help,
Joannes Vermorel
include some system dependent tuning parameters (lets say memory vs. speed
parameters for example). Since, those parameters are quite numerous, it
would be cumbersome for the client of the library to be forced to provide
explicit values for all those parameters. Also, default parameters should be
provided by the library itself. But I would rather not "hard code" such
parameters. I think, a good solution would be somehow to ship a (XML)
configuration file along the library. This way, the default performance of
the library could still be tuned after compilation.
To do this, there are a lot of dirty home-made solutions. But I think, this
issue should have some classical solutions (using System.Resource or
System.Configuration ???). Does someone have a convenient solution for this
problem ?
Thank you for the help,
Joannes Vermorel