Overload List

  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.

See Also