# C1.Web.Mvc.Sheet.Fluent.CellRangeFactory

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Sheet_Fluent_CellRangeFactory" data-uid="C1.Web.Mvc.Sheet.Fluent.CellRangeFactory" class="text-break">CellRangeFactory Class
</h1>
  <div class="markdown level0 summary"><p>The CellRangeFactory for setting CellRanges with fluent api.</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.AspNetCore.Mvc/C1.Web.Mvc.Grid.CellRange.html">CellRange</a>&gt;, <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.CellRangeFactory.html">CellRangeFactory</a>&gt;</div>
    <div class="level3"><span class="xref">CellRangeFactory</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.html">C1.Web.Mvc.Sheet.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.FlexSheet.dll</h6>
  <h5 id="C1_Web_Mvc_Sheet_Fluent_CellRangeFactory_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CellRangeFactory : BaseBuilder&lt;IList&lt;CellRange&gt;, CellRangeFactory&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CellRangeFactory
    Inherits BaseBuilder(Of IList(Of CellRange), CellRangeFactory)</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_Sheet_Fluent_CellRangeFactory__ctor_System_Collections_Generic_IList_C1_Web_Mvc_Grid_CellRange__" data-uid="C1.Web.Mvc.Sheet.Fluent.CellRangeFactory.#ctor(System.Collections.Generic.IList{C1.Web.Mvc.Grid.CellRange})">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.CellRangeFactory.-ctor.html#C1_Web_Mvc_Sheet_Fluent_CellRangeFactory__ctor_System_Collections_Generic_IList_C1_Web_Mvc_Grid_CellRange__">CellRangeFactory(IList&lt;CellRange&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>The constructor for CellRangeFactory.</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_Sheet_Fluent_CellRangeFactory_AddCellRange_System_Int32_System_Int32_System_Nullable_System_Int32__System_Nullable_System_Int32__" data-uid="C1.Web.Mvc.Sheet.Fluent.CellRangeFactory.AddCellRange(System.Int32,System.Int32,System.Nullable{System.Int32},System.Nullable{System.Int32})">
          <a class="xref" href="C1.Web.Mvc.Sheet.Fluent.CellRangeFactory.AddCellRange.html#C1_Web_Mvc_Sheet_Fluent_CellRangeFactory_AddCellRange_System_Int32_System_Int32_System_Nullable_System_Int32__System_Nullable_System_Int32__">AddCellRange(int, int, int?, int?)</a>
        </td>
        <td class="markdown level1 summary"><p>Add the CellRange to Range list.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
