# FarPoint.Web.Chart.FpChartBuilder.ProcessGeneratedCode

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Chart_FpChartBuilder_ProcessGeneratedCode_" data-uid="FarPoint.Web.Chart.FpChartBuilder.ProcessGeneratedCode*">ProcessGeneratedCode Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Chart_FpChartBuilder_ProcessGeneratedCode_" data-uid="FarPoint.Web.Chart.FpChartBuilder.ProcessGeneratedCode*"></a>
<h4 id="FarPoint_Web_Chart_FpChartBuilder_ProcessGeneratedCode_System_CodeDom_CodeCompileUnit_System_CodeDom_CodeTypeDeclaration_System_CodeDom_CodeTypeDeclaration_System_CodeDom_CodeMemberMethod_System_CodeDom_CodeMemberMethod_" data-uid="FarPoint.Web.Chart.FpChartBuilder.ProcessGeneratedCode(System.CodeDom.CodeCompileUnit,System.CodeDom.CodeTypeDeclaration,System.CodeDom.CodeTypeDeclaration,System.CodeDom.CodeMemberMethod,System.CodeDom.CodeMemberMethod)">ProcessGeneratedCode(CodeCompileUnit, CodeTypeDeclaration, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod)</h4>
<div class="markdown level1 summary"><p>Access the generated Code Document Object Model (CodeDom) and insert and modify code during the process of parsing and building controls.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override void ProcessGeneratedCode(CodeCompileUnit codeCompileUnit, CodeTypeDeclaration baseType, CodeTypeDeclaration derivedType, CodeMemberMethod buildMethod, CodeMemberMethod dataBindingMethod)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Sub ProcessGeneratedCode(codeCompileUnit As CodeCompileUnit, baseType As CodeTypeDeclaration, derivedType As CodeTypeDeclaration, buildMethod As CodeMemberMethod, dataBindingMethod As CodeMemberMethod)</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.codedom.codecompileunit">CodeCompileUnit</a></td>
      <td><span class="parametername">codeCompileUnit</span></td>
      <td><p>The root container of a CodeDOM graph of the control that is being built.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.codedom.codetypedeclaration">CodeTypeDeclaration</a></td>
      <td><span class="parametername">baseType</span></td>
      <td><p>The base type of the page or user control that contains the control that is being built.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.codedom.codetypedeclaration">CodeTypeDeclaration</a></td>
      <td><span class="parametername">derivedType</span></td>
      <td><p>The derived type of the page or user control that contains the control that is being built.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.codedom.codemembermethod">CodeMemberMethod</a></td>
      <td><span class="parametername">buildMethod</span></td>
      <td><p>The code that is used to build the control.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.codedom.codemembermethod">CodeMemberMethod</a></td>
      <td><span class="parametername">dataBindingMethod</span></td>
      <td><p>The code that is used to build the data-binding method of the control.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.controlbuilder.processgeneratedcode">ControlBuilder.ProcessGeneratedCode(CodeCompileUnit, CodeTypeDeclaration, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod)</a></div>
</div>
