# C1.Web.Mvc.Finance.Fluent.FinanceAnnotationExtension.AddAnnotationLayer

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_Finance_Fluent_FinanceAnnotationExtension_AddAnnotationLayer_" data-uid="C1.Web.Mvc.Finance.Fluent.FinanceAnnotationExtension.AddAnnotationLayer*">AddAnnotationLayer Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_Finance_Fluent_FinanceAnnotationExtension_AddAnnotationLayer_" data-uid="C1.Web.Mvc.Finance.Fluent.FinanceAnnotationExtension.AddAnnotationLayer*"></a>
<h4 id="C1_Web_Mvc_Finance_Fluent_FinanceAnnotationExtension_AddAnnotationLayer__1_C1_Web_Mvc_Finance_Fluent_FinancialChartBuilder___0__System_Action_C1_Web_Mvc_Fluent_AnnotationLayerBuilder___0___" data-uid="C1.Web.Mvc.Finance.Fluent.FinanceAnnotationExtension.AddAnnotationLayer``1(C1.Web.Mvc.Finance.Fluent.FinancialChartBuilder{``0},System.Action{C1.Web.Mvc.Fluent.AnnotationLayerBuilder{``0}})">AddAnnotationLayer&lt;T&gt;(FinancialChartBuilder&lt;T&gt;, Action&lt;AnnotationLayerBuilder&lt;T&gt;&gt;)</h4>
<div class="markdown level1 summary"><p>Apply the AnnotationLayer extender in FinancialChart.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static FinancialChartBuilder&lt;T&gt; AddAnnotationLayer&lt;T&gt;(this FinancialChartBuilder&lt;T&gt; financialChartBuilder, Action&lt;AnnotationLayerBuilder&lt;T&gt;&gt; annotationLayerBuilder)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function AddAnnotationLayer(Of T)(financialChartBuilder As FinancialChartBuilder(Of T), annotationLayerBuilder As Action(Of AnnotationLayerBuilder(Of T))) As FinancialChartBuilder(Of T)</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="C1.Web.Mvc.Finance.Fluent.FinancialChartBuilder-1.html">FinancialChartBuilder</a>&lt;T&gt;</td>
      <td><span class="parametername">financialChartBuilder</span></td>
      <td><p>the specified financialChart builder.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="../C1.AspNetCore.Mvc/C1.Web.Mvc.Fluent.AnnotationLayerBuilder-1.html">AnnotationLayerBuilder</a>&lt;T&gt;&gt;</td>
      <td><span class="parametername">annotationLayerBuilder</span></td>
      <td><p>the specified annotationlayer builder</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Web.Mvc.Finance.Fluent.FinancialChartBuilder-1.html">FinancialChartBuilder</a>&lt;T&gt;</td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="typeParameters">Type Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="parametername">T</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
