The YFunction type exposes the following members.
Constructors
Name | Description | |
---|---|---|
YFunction()()()() |
Initializes a new instance of the YFunction class.
This constructor is equivalent to YFunction(true).
|
|
YFunction(Boolean) |
Initializes a new instance of the YFunction class.
Specifies whether the YFunction object should be created in a way that allows the
compiled functions (in-memory assemblies) be unloaded.
Remarks
When the Disposable parameter is true, an in-memory assembly is created
another AppDomain which is unloaded from the application when the YFunction
object goes out of scope. If the Disposable parameter is false, then the in-memory
created assemblies cannot be unloaded until the application is terminated. Note
that an AppDomain is used only if the current permission set allows. Web applications
always create function assemblies in the current AppDomain.
|
Methods
Name | Description | |
---|---|---|
CalcFunction(Double, ISimpleFunction, Object, CalculateFunctionEventHandler) | (Inherited from FunctionBase.) | |
CalcFunction(array<Double>[]()[][], ISimpleFunction, Object, CalculateFunctionEventHandler) | (Inherited from FunctionBase.) | |
ConvertPoint | (Inherited from FunctionBase.) | |
CreateFunction | (Inherited from FunctionBase.) | |
Dispose | (Inherited from FunctionBase.) | |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetPoints | (Overrides FunctionBase..::..GetPoints(Boolean).) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
GetY |
Calculates the value of the function at specified X value.
|
|
GetYValues |
Calculates the values of the function at specified X values.
|
|
LinesToText | (Inherited from FunctionBase.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
NotifyChanges | (Inherited from FunctionBase.) | |
Recompile | (Overrides FunctionBase..::..Recompile()()()().) | |
ShouldSerializeMax | ||
ShouldSerializeMin | ||
TextToLines | (Inherited from FunctionBase.) | |
ToString | (Inherited from FunctionBase.) |
Fields
Name | Description | |
---|---|---|
_byProxy | (Inherited from FunctionBase.) | |
m_codeLang | (Inherited from FunctionBase.) | |
m_codeType | (Inherited from FunctionBase.) | |
m_legendEntry | (Inherited from FunctionBase.) | |
m_lstyle | (Inherited from FunctionBase.) | |
m_method | (Inherited from FunctionBase.) | |
m_npoints | (Inherited from FunctionBase.) | |
m_overData | (Inherited from FunctionBase.) | |
m_text | (Inherited from FunctionBase.) | |
m_visible | (Inherited from FunctionBase.) |
Properties
Name | Description | |
---|---|---|
AutoMax |
Gets or sets whether the maximum X value is calculated automatically.
|
|
AutoMin |
Gets or sets whether the minimum X value is calculated automatically.
|
|
CodeErrors |
Gets the string descriptions of any compiler errors.
(Inherited from FunctionBase.) |
|
CodeLanguage |
Gets or sets the programming language used for compiling (C# or VB).
(Inherited from FunctionBase.) |
|
CodeLines | ||
CodeText |
Gets or sets the function code.
|
|
CodeType |
Gets or sets whether the code will be compiled as formula, a method or as full compile unit.
(Inherited from FunctionBase.) |
|
CodeValid |
Gets whether the function compiles correctly.
(Inherited from FunctionBase.) |
|
CustomFunction |
Gets or sets a user-defined custom function object.
|
|
ErrorList | (Inherited from FunctionBase.) | |
Label |
Gets or sets the label of the function.
(Inherited from FunctionBase.) |
|
LegendEntry |
Gets or sets whether the function will be shown in legend.
(Inherited from FunctionBase.) |
|
LineStyle |
Gets or sets the line style used for plotting the function.
(Inherited from FunctionBase.) |
|
Max | (Overrides FunctionBase..::..Max.) | |
MaxX |
Gets or sets the maximum X value of the plotted function.
|
|
Min | (Overrides FunctionBase..::..Min.) | |
MinX |
Gets or sets the minimum X value of the plotted function.
|
|
PlotLinesMethod |
Gets or sets the method used for plotting the function.
(Inherited from FunctionBase.) |
|
PlotNumPoints |
Gets or sets the number of points used when plotting the function.
(Inherited from FunctionBase.) |
|
PlotOverData |
Gets or sets whether the function is plotted over or behind data series plots.
(Inherited from FunctionBase.) |
|
Visible |
Gets or sets whether the function plot is visible.
(Inherited from FunctionBase.) |
Events
Name | Description | |
---|---|---|
CalculateY |
Fires whenever the function value is calculated.
|