# C1.Web.Mvc.Olap.Fluent.FieldItemFactory

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Olap_Fluent_FieldItemFactory" data-uid="C1.Web.Mvc.Olap.Fluent.FieldItemFactory" class="text-break">FieldItemFactory Class
</h1>
  <div class="markdown level0 summary"><p>Defines a factory to create different fields.</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.AspNetCore.Mvc/C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="C1.Web.Mvc.Olap.PivotFieldBase.html">PivotFieldBase</a>&gt;, <a class="xref" href="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.html">FieldItemFactory</a>&gt;</div>
    <div class="level3"><span class="xref">FieldItemFactory</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Olap.Fluent.html">C1.Web.Mvc.Olap.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.Olap.dll</h6>
  <h5 id="C1_Web_Mvc_Olap_Fluent_FieldItemFactory_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FieldItemFactory : BaseBuilder&lt;IList&lt;PivotFieldBase&gt;, FieldItemFactory&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FieldItemFactory
    Inherits BaseBuilder(Of IList(Of PivotFieldBase), FieldItemFactory)</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_Olap_Fluent_FieldItemFactory__ctor_System_Collections_Generic_IList_C1_Web_Mvc_Olap_PivotFieldBase__" data-uid="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.#ctor(System.Collections.Generic.IList{C1.Web.Mvc.Olap.PivotFieldBase})">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.-ctor.html#C1_Web_Mvc_Olap_Fluent_FieldItemFactory__ctor_System_Collections_Generic_IList_C1_Web_Mvc_Olap_PivotFieldBase__">FieldItemFactory(IList&lt;PivotFieldBase&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes an instance of the <a class="xref" href="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.html">FieldItemFactory</a> class
by using the specified collection.</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_Olap_Fluent_FieldItemFactory_AddCubeField_C1_Web_Mvc_Olap_CubeField_" data-uid="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.AddCubeField(C1.Web.Mvc.Olap.CubeField)">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.AddCubeField.html#C1_Web_Mvc_Olap_Fluent_FieldItemFactory_AddCubeField_C1_Web_Mvc_Olap_CubeField_">AddCubeField(CubeField)</a>
        </td>
        <td class="markdown level1 summary"><p>Add a <a class="xref" href="C1.Web.Mvc.Olap.CubeField.html">CubeField</a> instance to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Fluent_FieldItemFactory_AddCubeField_System_Action_C1_Web_Mvc_Olap_Fluent_CubeFieldBuilder__" data-uid="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.AddCubeField(System.Action{C1.Web.Mvc.Olap.Fluent.CubeFieldBuilder})">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.AddCubeField.html#C1_Web_Mvc_Olap_Fluent_FieldItemFactory_AddCubeField_System_Action_C1_Web_Mvc_Olap_Fluent_CubeFieldBuilder__">AddCubeField(Action&lt;CubeFieldBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add a <a class="xref" href="C1.Web.Mvc.Olap.CubeField.html">CubeField</a> instance updated by the specified action to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Fluent_FieldItemFactory_AddPivotField_C1_Web_Mvc_Olap_PivotField_" data-uid="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.AddPivotField(C1.Web.Mvc.Olap.PivotField)">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.AddPivotField.html#C1_Web_Mvc_Olap_Fluent_FieldItemFactory_AddPivotField_C1_Web_Mvc_Olap_PivotField_">AddPivotField(PivotField)</a>
        </td>
        <td class="markdown level1 summary"><p>Add a <a class="xref" href="C1.Web.Mvc.Olap.PivotField.html">PivotField</a> instance to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Olap_Fluent_FieldItemFactory_AddPivotField_System_Action_C1_Web_Mvc_Olap_Fluent_PivotFieldBuilder__" data-uid="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.AddPivotField(System.Action{C1.Web.Mvc.Olap.Fluent.PivotFieldBuilder})">
          <a class="xref" href="C1.Web.Mvc.Olap.Fluent.FieldItemFactory.AddPivotField.html#C1_Web_Mvc_Olap_Fluent_FieldItemFactory_AddPivotField_System_Action_C1_Web_Mvc_Olap_Fluent_PivotFieldBuilder__">AddPivotField(Action&lt;PivotFieldBuilder&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add a <a class="xref" href="C1.Web.Mvc.Olap.PivotField.html">PivotField</a> instance updated by the specified action to the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
