Here is my problem :
I have a dll containing some mathematical functions, the code looks that way:
internal sealed class TemplateSourceCodeClass
{
public const string MathExpressionEvaluationCode =
@"using System;
class MathExpressionEvaluation
{
public object Eval(double value)
{}
public double abs(double dValue)
{}
the probleme is that it manipulate only double variables and I need to be able to manipulate all kind of number (UInt32, UInt64, Byte ...)
Should I write an other class ? and make it a generic class ?
The class is called by some methods inside the dll (another class)
public class MathExpressionEvaluator : BaseEvaluator
{
static private CSharpCodeProvider _csharpCodeProvider;
static private Dictionary<string,object> equations;
public MathExpressionEvaluator()
{}
public void Compile(string formulaString)
{}
- I don t have access to the code of the dll
I m sorry if the question is not clear enough but If you need further expplications, just ask
Any help could be useful
I searched on the forum and I didn t find something that helped me but If you think that the question was already answered just give me the link
Thank you verry much