C# Class MathExpressionsNET.MathFuncAssemblyCecil

Mostra file Open project: KvanTTT/MathExpressions.NET Class Usage Examples

Public Properties

Property Type Description
ClassName string
FuncDerivativeName string
FuncName string
NamespaceName string
TypesReferences MethodReference>.Dictionary

Public Methods

Method Description
CompileFuncAndDerivativeInMemory ( string expression, string variable, string name = "" ) : byte[]
CompileFuncAndDerivativeToFile ( string expression, string variable, string fileName = "" ) : void
CompileFuncAndDerivativeToFile ( string expression, string variable, string filePath = "", string name = "" ) : void
Init ( string fileName = "MathFuncLib.dll" ) : void
MathFuncAssemblyCecil ( string namespaceName = "MathFuncLib", string className = "MathFunc" ) : System
SaveToBytes ( ) : byte[]
SaveToFile ( string path = "", string fileName = "" ) : void

Private Methods

Method Description
CompileFuncAndDerivative ( string expression, string variable, string name = "" ) : void
ImportMath ( AssemblyDefinition assembly ) : void

Method Details

CompileFuncAndDerivativeInMemory() public method

public CompileFuncAndDerivativeInMemory ( string expression, string variable, string name = "" ) : byte[]
expression string
variable string
name string
return byte[]

CompileFuncAndDerivativeToFile() public method

public CompileFuncAndDerivativeToFile ( string expression, string variable, string fileName = "" ) : void
expression string
variable string
fileName string
return void

CompileFuncAndDerivativeToFile() public method

public CompileFuncAndDerivativeToFile ( string expression, string variable, string filePath = "", string name = "" ) : void
expression string
variable string
filePath string
name string
return void

Init() public method

public Init ( string fileName = "MathFuncLib.dll" ) : void
fileName string
return void

MathFuncAssemblyCecil() public method

public MathFuncAssemblyCecil ( string namespaceName = "MathFuncLib", string className = "MathFunc" ) : System
namespaceName string
className string
return System

SaveToBytes() public method

public SaveToBytes ( ) : byte[]
return byte[]

SaveToFile() public method

public SaveToFile ( string path = "", string fileName = "" ) : void
path string
fileName string
return void

Property Details

ClassName public_oe property

public string ClassName
return string

FuncDerivativeName public_oe property

public string FuncDerivativeName
return string

FuncName public_oe property

public string FuncName
return string

NamespaceName public_oe property

public string NamespaceName
return string

TypesReferences public_oe property

public Dictionary TypesReferences
return MethodReference>.Dictionary