The YFunction type exposes the following members.

Constructors

  Name Description
Public method YFunction()()()()
Initializes a new instance of the YFunction class. This constructor is equivalent to YFunction(true).
Public method 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
Protected method CalcFunction(Double, ISimpleFunction, Object, CalculateFunctionEventHandler) (Inherited from FunctionBase.)
Protected method CalcFunction(array<Double>[]()[][], ISimpleFunction, Object, CalculateFunctionEventHandler) (Inherited from FunctionBase.)
Protected method ConvertPoint (Inherited from FunctionBase.)
Protected method CreateFunction (Inherited from FunctionBase.)
Public method Dispose (Inherited from FunctionBase.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected method GetPoints (Overrides FunctionBase..::..GetPoints(Boolean).)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method GetY
Calculates the value of the function at specified X value.
Public method GetYValues
Calculates the values of the function at specified X values.
Protected method LinesToText (Inherited from FunctionBase.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method NotifyChanges (Inherited from FunctionBase.)
Protected method Recompile (Overrides FunctionBase..::..Recompile()()()().)
Public method ShouldSerializeMax
Public method ShouldSerializeMin
Protected method TextToLines (Inherited from FunctionBase.)
Public method ToString (Inherited from FunctionBase.)

Fields

  Name Description
Protected field _byProxy (Inherited from FunctionBase.)
Protected field m_codeLang (Inherited from FunctionBase.)
Protected field m_codeType (Inherited from FunctionBase.)
Protected field m_legendEntry (Inherited from FunctionBase.)
Protected field m_lstyle (Inherited from FunctionBase.)
Protected field m_method (Inherited from FunctionBase.)
Protected field m_npoints (Inherited from FunctionBase.)
Protected field m_overData (Inherited from FunctionBase.)
Protected field m_text (Inherited from FunctionBase.)
Protected field m_visible (Inherited from FunctionBase.)

Properties

  Name Description
Public property AutoMax
Gets or sets whether the maximum X value is calculated automatically.
Public property AutoMin
Gets or sets whether the minimum X value is calculated automatically.
Public property CodeErrors
Gets the string descriptions of any compiler errors.
(Inherited from FunctionBase.)
Public property CodeLanguage
Gets or sets the programming language used for compiling (C# or VB).
(Inherited from FunctionBase.)
Public property CodeLines
Public property CodeText
Gets or sets the function code.
Public property CodeType
Gets or sets whether the code will be compiled as formula, a method or as full compile unit.
(Inherited from FunctionBase.)
Public property CodeValid
Gets whether the function compiles correctly.
(Inherited from FunctionBase.)
Public property CustomFunction
Gets or sets a user-defined custom function object.
Protected property ErrorList (Inherited from FunctionBase.)
Public property Label
Gets or sets the label of the function.
(Inherited from FunctionBase.)
Public property LegendEntry
Gets or sets whether the function will be shown in legend.
(Inherited from FunctionBase.)
Public property LineStyle
Gets or sets the line style used for plotting the function.
(Inherited from FunctionBase.)
Public property Max (Overrides FunctionBase..::..Max.)
Public property MaxX
Gets or sets the maximum X value of the plotted function.
Public property Min (Overrides FunctionBase..::..Min.)
Public property MinX
Gets or sets the minimum X value of the plotted function.
Public property PlotLinesMethod
Gets or sets the method used for plotting the function.
(Inherited from FunctionBase.)
Public property PlotNumPoints
Gets or sets the number of points used when plotting the function.
(Inherited from FunctionBase.)
Public property PlotOverData
Gets or sets whether the function is plotted over or behind data series plots.
(Inherited from FunctionBase.)
Public property Visible
Gets or sets whether the function plot is visible.
(Inherited from FunctionBase.)

Events

  Name Description
Public event CalculateY
Fires whenever the function value is calculated.

See Also