# C1.WPF.RulesManager.RulesEngineRange.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_WPF_RulesManager_RulesEngineRange__ctor_" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor*">RulesEngineRange Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_WPF_RulesManager_RulesEngineRange__ctor_" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor*"></a>
<h4 id="C1_WPF_RulesManager_RulesEngineRange__ctor" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor">RulesEngineRange()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.RulesManager.RulesEngineRange.html">RulesEngineRange</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RulesEngineRange()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="C1_WPF_RulesManager_RulesEngineRange__ctor_" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor*"></a>
<h4 id="C1_WPF_RulesManager_RulesEngineRange__ctor_System_Int32_System_Int32_" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor(System.Int32,System.Int32)">RulesEngineRange(int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.RulesManager.RulesEngineRange.html">RulesEngineRange</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RulesEngineRange(int firstItem, int lastItem)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(firstItem As Integer, lastItem As Integer)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">firstItem</span></td>
      <td><p>The index of the first item where the rule is applied.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">lastItem</span></td>
      <td><p>The index of the last item where the rule is applied.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_RulesManager_RulesEngineRange__ctor_" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor*"></a>
<h4 id="C1_WPF_RulesManager_RulesEngineRange__ctor_System_Int32_System_Int32_System_String_" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor(System.Int32,System.Int32,System.String)">RulesEngineRange(int, int, string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.RulesManager.RulesEngineRange.html">RulesEngineRange</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RulesEngineRange(int firstItem, int lastItem, string field)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(firstItem As Integer, lastItem As Integer, field As String)</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">firstItem</span></td>
      <td><p>The index of the first item where the rule is applied.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">lastItem</span></td>
      <td><p>The index of the last item where the rule is applied.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">field</span></td>
      <td><p>The field that determines the range where the rule is applied.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_RulesManager_RulesEngineRange__ctor_" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor*"></a>
<h4 id="C1_WPF_RulesManager_RulesEngineRange__ctor_System_String_" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor(System.String)">RulesEngineRange(string)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.RulesManager.RulesEngineRange.html">RulesEngineRange</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RulesEngineRange(string field)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(field As String)</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">field</span></td>
      <td><p>The field of the item to compute the value.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_WPF_RulesManager_RulesEngineRange__ctor_" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor*"></a>
<h4 id="C1_WPF_RulesManager_RulesEngineRange__ctor_System_Nullable_System_Int32__System_Nullable_System_Int32__System_Collections_Generic_IReadOnlyList_System_String__" data-uid="C1.WPF.RulesManager.RulesEngineRange.#ctor(System.Nullable{System.Int32},System.Nullable{System.Int32},System.Collections.Generic.IReadOnlyList{System.String})">RulesEngineRange(int?, int?, IReadOnlyList&lt;string&gt;)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.WPF.RulesManager.RulesEngineRange.html">RulesEngineRange</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RulesEngineRange(int? firstItem, int? lastItem, IReadOnlyList&lt;string&gt; fields)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(firstItem As Integer?, lastItem As Integer?, fields As IReadOnlyList(Of String))</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="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</td>
      <td><span class="parametername">firstItem</span></td>
      <td><p>The index of the first item where the rule is applied.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>?</td>
      <td><span class="parametername">lastItem</span></td>
      <td><p>The index of the last item where the rule is applied.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>&gt;</td>
      <td><span class="parametername">fields</span></td>
      <td><p>The fields that determines the range where the rule is applied.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
