2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / YFunction Class / YFunction Constructor / YFunction Constructor(Boolean)
Specifies whether the YFunction object should be created in a way that allows the compiled functions (in-memory assemblies) be unloaded.

In This Topic
    YFunction Constructor(Boolean)
    In This Topic
    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. 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.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal Disposable As System.Boolean _
    )
    public YFunction( 
       System.bool Disposable
    )

    Parameters

    Disposable
    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