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

In This Topic
    ParametricFunction Constructor(Boolean)
    In This Topic
    Initializes a new instance of the ParametricFunction class. Specifies whether the ParametricFunction 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 ParametricFunction 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 ParametricFunction( 
       System.bool Disposable
    )

    Parameters

    Disposable
    Specifies whether the ParametricFunction 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 ParametricFunction 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