# C1.Win.RulesManager.Model.IRuleCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_RulesManager_Model_IRuleCollection" data-uid="C1.Win.RulesManager.Model.IRuleCollection" class="text-break">IRuleCollection Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the collection of rules.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.RulesManager.Model.html">C1.Win.RulesManager.Model</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.RulesManager.10.dll</h6>
  <h5 id="C1_Win_RulesManager_Model_IRuleCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IRuleCollection : IList&lt;IRule&gt;, ICollection&lt;IRule&gt;, IEnumerable&lt;IRule&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IRuleCollection
    Inherits IList(Of IRule), ICollection(Of IRule), IEnumerable(Of IRule), IEnumerable</code></pre>
  </div>
  <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_Win_RulesManager_Model_IRuleCollection_AddRange_System_Collections_Generic_IEnumerable_C1_Win_RulesManager_IRule__" data-uid="C1.Win.RulesManager.Model.IRuleCollection.AddRange(System.Collections.Generic.IEnumerable{C1.Win.RulesManager.IRule})">
          <a class="xref" href="C1.Win.RulesManager.Model.IRuleCollection.AddRange.html#C1_Win_RulesManager_Model_IRuleCollection_AddRange_System_Collections_Generic_IEnumerable_C1_Win_RulesManager_IRule__">AddRange(IEnumerable&lt;IRule&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the IRule elements of the specified collection to the end of the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Model_IRuleCollection_DecreasePriority_C1_Win_RulesManager_IRule_" data-uid="C1.Win.RulesManager.Model.IRuleCollection.DecreasePriority(C1.Win.RulesManager.IRule)">
          <a class="xref" href="C1.Win.RulesManager.Model.IRuleCollection.DecreasePriority.html#C1_Win_RulesManager_Model_IRuleCollection_DecreasePriority_C1_Win_RulesManager_IRule_">DecreasePriority(IRule)</a>
        </td>
        <td class="markdown level1 summary"><p>Decrease the priority of the specified rule in the collection.
The priority is determined by the position in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_RulesManager_Model_IRuleCollection_IncreasePriority_C1_Win_RulesManager_IRule_" data-uid="C1.Win.RulesManager.Model.IRuleCollection.IncreasePriority(C1.Win.RulesManager.IRule)">
          <a class="xref" href="C1.Win.RulesManager.Model.IRuleCollection.IncreasePriority.html#C1_Win_RulesManager_Model_IRuleCollection_IncreasePriority_C1_Win_RulesManager_IRule_">IncreasePriority(IRule)</a>
        </td>
        <td class="markdown level1 summary"><p>Increases the priority of the specified rule in the collection.
The priority is determined by the position in the collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
