# C1.Web.Mvc.Fluent.CalculatedFieldBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_CalculatedFieldBuilder" data-uid="C1.Web.Mvc.Fluent.CalculatedFieldBuilder" class="text-break">CalculatedFieldBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.CalculatedField.html">CalculatedField</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.CalculatedField.html">CalculatedField</a>, <a class="xref" href="C1.Web.Mvc.Fluent.CalculatedFieldBuilder.html">CalculatedFieldBuilder</a>&gt;</div>
    <div class="level3"><span class="xref">CalculatedFieldBuilder</span></div>
  </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_CalculatedFieldBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CalculatedFieldBuilder : BaseBuilder&lt;CalculatedField, CalculatedFieldBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CalculatedFieldBuilder
    Inherits BaseBuilder(Of CalculatedField, CalculatedFieldBuilder)</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_CalculatedFieldBuilder__ctor_C1_Web_Mvc_CalculatedField_" data-uid="C1.Web.Mvc.Fluent.CalculatedFieldBuilder.#ctor(C1.Web.Mvc.CalculatedField)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CalculatedFieldBuilder.-ctor.html#C1_Web_Mvc_Fluent_CalculatedFieldBuilder__ctor_C1_Web_Mvc_CalculatedField_">CalculatedFieldBuilder(CalculatedField)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.CalculatedFieldBuilder.html">CalculatedFieldBuilder</a> instance to configurate <code class="paramref">obj</code>.</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_CalculatedFieldBuilder_Expression_System_String_" data-uid="C1.Web.Mvc.Fluent.CalculatedFieldBuilder.Expression(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CalculatedFieldBuilder.Expression.html#C1_Web_Mvc_Fluent_CalculatedFieldBuilder_Expression_System_String_">Expression(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.CalculatedField.Expression.html#C1_Web_Mvc_CalculatedField_Expression">Expression</a>.
Sets the expression which is used to calculates field value. The expression may refer to the current item via the context variable '$', which contains the item's original and calculated values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_CalculatedFieldBuilder_Name_System_String_" data-uid="C1.Web.Mvc.Fluent.CalculatedFieldBuilder.Name(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.CalculatedFieldBuilder.Name.html#C1_Web_Mvc_Fluent_CalculatedFieldBuilder_Name_System_String_">Name(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.CalculatedField.Name.html#C1_Web_Mvc_CalculatedField_Name">Name</a>.
Sets the name of calculated field.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
