# C1.Web.Mvc.Fluent.ITemplateBuilder-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_ITemplateBuilder_1" data-uid="C1.Web.Mvc.Fluent.ITemplateBuilder`1" class="text-break">ITemplateBuilder&lt;T&gt; Interface
</h1>
  <div class="markdown level0 summary"><p>Defines the interface of the builder which can be used as a template.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_ITemplateBuilder_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ITemplateBuilder&lt;T&gt; where T : ITemplateBuilder&lt;T&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ITemplateBuilder(Of T As ITemplateBuilder(Of T))</code></pre>
  </div>
  <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><p>The builder type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ITemplateBuilder_1_TemplateBind_System_String_System_String_" data-uid="C1.Web.Mvc.Fluent.ITemplateBuilder`1.TemplateBind(System.String,System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.ITemplateBuilder-1.TemplateBind.html#C1_Web_Mvc_Fluent_ITemplateBuilder_1_TemplateBind_System_String_System_String_">TemplateBind(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>When the builder works in template mode, bind the property which name is specified
to some item which name is specified.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_ITemplateBuilder_1_ToTemplate" data-uid="C1.Web.Mvc.Fluent.ITemplateBuilder`1.ToTemplate">
          <a class="xref" href="C1.Web.Mvc.Fluent.ITemplateBuilder-1.ToTemplate.html#C1_Web_Mvc_Fluent_ITemplateBuilder_1_ToTemplate">ToTemplate()</a>
        </td>
        <td class="markdown level1 summary"><p>Transfers current builder to template mode.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
