# C1.Win.C1Chart.ParametricFunction.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_C1Chart_ParametricFunction__ctor_" data-uid="C1.Win.C1Chart.ParametricFunction.#ctor*">ParametricFunction Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_C1Chart_ParametricFunction__ctor_" data-uid="C1.Win.C1Chart.ParametricFunction.#ctor*"></a>
<h4 id="C1_Win_C1Chart_ParametricFunction__ctor" data-uid="C1.Win.C1Chart.ParametricFunction.#ctor">ParametricFunction()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.C1Chart.ParametricFunction.html">ParametricFunction</a> class.
This constructor is equivalent to ParametricFunction(true).</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParametricFunction()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_Win_C1Chart_ParametricFunction__ctor_" data-uid="C1.Win.C1Chart.ParametricFunction.#ctor*"></a>
<h4 id="C1_Win_C1Chart_ParametricFunction__ctor_System_Boolean_" data-uid="C1.Win.C1Chart.ParametricFunction.#ctor(System.Boolean)">ParametricFunction(bool)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Win.C1Chart.ParametricFunction.html">ParametricFunction</a> class.</p>
<param name="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.
</remarks>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ParametricFunction(bool Disposable)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(Disposable As Boolean)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">Disposable</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
